Pony7 / cspoker

Automatically exported from code.google.com/p/cspoker
GNU General Public License v2.0
1 stars 0 forks source link

Server error when connection dropped #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. i had 2 clients connected, and closed JavaFX clinet

What is the expected output? What do you see instead?

in attachment

Please use labels and text to provide additional information.

Original issue reported on code.google.com by vgolova...@gmail.com on 10 Aug 2008 at 12:52

Attachments:

GoogleCodeExporter commented 9 years ago
Did the server crash or were there other implications?

Just because the lost connection was logged doesn't mean it's not intended 
behaviour.

Original comment by guy...@gmail.com on 10 Aug 2008 at 5:11

GoogleCodeExporter commented 9 years ago
No. Server in some heavy non stop cycle.  Eating up almost all resources of 
computer.

Original comment by vgolova...@gmail.com on 10 Aug 2008 at 5:53

GoogleCodeExporter commented 9 years ago
I couldn't verify the bug. On Linux the socket just reads -1 bytes without 
throwing
an IOException. This is probably different behaviour on Windows and Linux. 

I tried to fix it anyway in r798 and r799. Now the player should be removed 
from the
table when his connection is lost.

Original comment by guy...@gmail.com on 20 Aug 2008 at 5:05