
bugzilla at apache
Oct 21, 2009, 4:35 PM
Post #1 of 1
(214 views)
Permalink
|
|
[Bug 48037] New: mod_proxy_http does not handle asynchronous keepalive close events correctly
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=48037 Summary: mod_proxy_http does not handle asynchronous keepalive close events correctly Product: Apache httpd-2 Version: 2.0.63 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_proxy_http AssignedTo: bugs [at] httpd ReportedBy: jd [at] cpanel Noticed this with Apache 2.0.63, but it looks fairly clear that the same problem exists in 2.2.14. The way proxy_httpd.c is written, if a keepalive connection is closed by the other side in ap_proxy_http_handler() after ap_proxy_http_create_connection() and before a response is received, Apache will consider this to be a connection error and generate a 502 response. This logic is only valid on the first request across the keepalive. According to the HTTP 1.1 spec, proxy_httpd.c must be capable of handling asynchronous close events in the middle of a keepalive session. When it encounters an unexpected close it should attempt to reestablish the connection and resend the request before generating a 502 response. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|