glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] SDL_net bug preventing YOG server stability


From: Stephane Magnenat
Subject: Re: [glob2-devel] SDL_net bug preventing YOG server stability
Date: Sat, 2 Aug 2008 14:14:22 +0200
User-agent: KMail/1.10.0 (Linux/2.6.24-19-rt; KDE/4.1.0; i686; ; )

On Saturday 02 August 2008 04:25:03 Bradley Arsenault wrote:
> There is a bug in SDL_net. SDL_net does not respond to SIGPIPE, causing the
> program to halt. This happens occasionally when a client has disconnected
> just as the server was about to send it information. While the timing is
> fairly presice, it can and does happen, causing our YOG server to grind to
> a halt. Reading up on it yields no acceptable solutions besides altering
> SDL_net

signal(SIGPIPE, SIG_IGN);

Note: this function is deprecated, so you should use sigaction instead, the 
man page is fairly readable.

Have a nice day,

Steph

-- 
http://stephane.magnenat.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]