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 41560] New: - proxy_handler can return apr_status_t
Date Wed, 07 Feb 2007 17:10:36 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=41560>.
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=41560

           Summary: proxy_handler can return apr_status_t
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: covener@gmail.com


I can see this symptom in 2.2.3 and httpd-2.2.x HEAD.

When mod_proxy_http can't read the full POST body it's expecting, it will pass
the apr_status_t return code back up the stack and proxy_handler will ultimately
return it to the core.

In 2.2.3 this results in %s being logged as 70007 (timeout). In 2.2.x HEAD the
core notes the non-HTTP return code and uses 500 for %s:

[Wed Feb 07 11:50:24 2007] [error] (70007)The timeout specified has expired:
proxy: prefetch request body failed to 127.0.0.1:81 (localhost) from 127.0.0.1 ()
[Wed Feb 07 11:50:24 2007] [debug] proxy_util.c(1816): proxy: HTTP: has released
connection for (localhost)
[Wed Feb 07 11:50:24 2007] [error] [client 127.0.0.1] Handler for proxy-server
returned invalid result code 70007

Because there isn't much separation between writing the request to the origin
and reading the POST body from the client, it might be difficult to bubble up
anyting but HTTP_INTERNAL_SERVER_ERROR even though HTTP_BAD_REQUEST might
sometimes be preferred.

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