chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] questionable http-server behaviour under heavyload:


From: Chris Double
Subject: Re: [Chicken-users] questionable http-server behaviour under heavyload: broken pipe
Date: Thu, 26 Aug 2004 09:34:20 +1200

'Broken Pipe' is usually caused by writing to a socket that has closed.
When this happens a SIGPIPE signal is raised. You can either catch this
signal and ignore it (or handle it in some other manner), or pass
MSG_NOSIGNAL to the 'send' call. Unfortunately MSG_NOSIGNAL is not in
FreeBSD, in that case you can use the socket option SO_NOSIGPIPE. This
should probably be done in the Chicken library somewhere I guess.

Chris.
-- 
  Chris Double
  address@hidden





reply via email to

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