You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/06/20 02:44:38 UTC
DO NOT REPLY [Bug 35424] New: -
httpd disconnect in Timeout on CGI
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=35424>.
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=35424
Summary: httpd disconnect in Timeout on CGI
Product: Apache httpd-1.3
Version: 1.3.31
Platform: All
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: core
AssignedTo: bugs@httpd.apache.org
ReportedBy: iorihonda@yahoo.co.jp
CC: iorihonda@yahoo.co.jp
I build apache 1.3.33 on Solaris and run test cgi which
fources timeout on httpd. It seems Internet explorer
trys re-connection to httpd server when timeout from apache
happens. The same URL is called 2-3 times. This is strange.
But this is a browser issue.
I checked apache behavior when timeout happens. I used this
simple cgi to see what happens when timeout happens.
This program is dedicated to simulate a long run cgi application.
---
#!/usr/bin/perl
for ($i=0;$i<60*7;$i++){
sleep(1);
}
print "Content-Type: text/html\n\n";
print "test cgi end\n";
--
I used etherreal to check packet between httpd and browser.
After 300 seconds passed (default Timeout time), httpd
sent just FIN packet to browser, then browser return ACK and FIN
and httpd sent ACK. tcp connection was closed successfully, abruptly.
Looking at timeout() function in httpd, httpd just close socket
by using close().
Is this expected behavior ? Why httpd does not send
any error code/message to client ? From browser, httpd disconnects
abruptly. This is not friendly.
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org