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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]