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 2007/02/06 09:03:46 UTC

DO NOT REPLY [Bug 35424] - 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





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