DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42190>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42190 Summary: Similar to bugid #35424, this seems to occur on Apache2 Product: Apache httpd-2 Version: 2.2.4 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] When running a long-running CGI under Apache2, the connection is closed abruptly rather than return an error code: Connection trace: O> GET /cgi-bin/test.cgi HTTP/1.0 O> Connection closed by foreign host. The simple CGI was: #!/bin/sh /bin/date +"`hostname -s`[$$]: I was called at %D %T" >> /tmp/test.log echo "Content-Type: text/plain" echo "" sleep 1000 Setting the 'Timeout' value in Apache down to 5 seconds or so makes this bug easier to debug (rather than the quite high default). Under Apache1.3 we see the behavior: O> GET /cgi-bin/test.cgi HTTP/1.0 O> I> HTTP/1.1 200 OK I> Date: Mon, 23 Apr 2007 06:10:26 GMT I> Server: Apache I> Connection: close I> Content-Type: text/plain Connection closed by foreign host. I suspect that this is similar to the bug 35424 which relates to the same behaviour occurring under Apache 1.3. I will note am surprised that Apache13 returns a '200' reply rather than a timeout, but that's a minor nitpick compared to 224 closing the connection. If you require any further debug output let me know. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
