>Number: 3467
>Category: os-solaris
>Synopsis: Broken client connections not detected
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Nov 30 21:10:00 PST 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.3
>Environment:
SunOS yacht 5.4 Generic_101945-44 sun4m sparc
GCC 2.7.2.f.1
mod_php 3.0.5
>Description:
I have a PHP page that sits in an infinite loop. When a browser leaves this
page, the child httpd recieves a SIGPIPE, but ignores it, and continues to run,
even though the client is long gone. The output of a truss:
read(7, "05 C h r i s\t 9 1 2 4 8".., 52) = 52
read(7, "01\0\0\n", 4) = 4
read(7, "FE", 1) = 1
write(6, " < f o n t c o l o r =".., 182) Err#32 EPIPE
Received signal #13, SIGPIPE [ignored]
>How-To-Repeat:
The URL is
http://www.ee.fit.edu/users/ccurtis/lords/chat/
but please dont.
>Fix:
I haven't looked at the source code, but it seems like a good idea not to
ignore SIGPIPE. There may be other reasons to ignore it that I'm not aware of,
however.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]