[Freeciv-Dev] Re: client core when server quit (PR#485)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 2000/07/30 21:49 , David Pfitzner wrote:
>Jeff Mallatt <jjm@xxxxxxxxxxxx> wrote:
>
>> I had a client connected to an AI player in an all-AI game. While the game
>> was running, I quit the server. This caused the client to core.
>
>Here is a patch which adds some checks. Checking both pc->used and
>pc->send_buffer _should_ be equivalent, but just in case...
>(If pc->used is zero, the TCP socket has been closed at this end,
>so we shouldn't try to send anything on it.)
This patch does seem to fix the core.
jjm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: client core when server quit (PR#485),
Jeff Mallatt <=
|
|