httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35424] - httpd disconnect in Timeout on CGI
Date Tue, 06 Feb 2007 08:03:46 GMT
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





------- Additional Comments From iorihonda@yahoo.co.jp  2007-02-06 00:03 -------
I applied this fix. I think this would work fine.

[http_main.c]
timeout()
        if (!current_conn->keptalive) {
            /* in some cases we come here before setting the time */
            if (log_req->request_time == 0) {
                log_req->request_time = time(NULL);
            }
!             if (log_req->status == HTTP_OK) {
                  log_req->status = HTTP_INTERNAL_SERVER_ERROR;
+                 save_req->status = HTTP_INTERNAL_SERVER_ERROR;
+             }
+             ap_send_error_response(save_req,0);
            ap_log_transaction(log_req);
        }


-- 
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


Mime
View raw message