httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ics.uci.edu>
Subject Re: Spinning httpds - One Solution
Date Fri, 21 Aug 1998 19:11:10 GMT
>The issue is why you don't get a SIGPIPE when writing which would result
>in timout() longjmping out of your code completely.

SIGPIPE is unreliable -- Solaris 2.5 doesn't even generate one when
writing to a closed socket.  We really should be ignoring it everywhere
and just using the return code to detect an error.  That was the case
for the core code last I checked.  mod_php should be checking the return
code for an error.

....Roy

Mime
View raw message