Mailing List Archive

httpd-2.4.2 - bug in ProxyErrorOverride
Hi,

when setting ProxyErrorOverride to "On" to get the httpd-ErrorDocument
instead of the backend-errordoc, httpd is waiting "ProxyTimeout" seconds
to respond to the client, even though the response is already read from
backend server.

The request/response is hanging somewhere in
module/proxy/mod_proxy_http
-> ap_proxy_http_process_response
-> ap_discard_request_body(backend->r) (modules/http/http_filters)
before timing out with "ProxyTimeout".


ProxyErrorOverride Directive:
http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxyerroroverride



Best regards,
Zisis
Re: httpd-2.4.2 - bug in ProxyErrorOverride [ In reply to ]
Just raised a bug for this issue:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53420

httpd-2.2.x works correctly, error is only reproducable in 2.4.x.


----- Original Message -----
From: "Zisis Lianas" <Zisis.Lianas@consol.de>
To: dev@httpd.apache.org
Sent: Wednesday, May 9, 2012 11:00:36 PM
Subject: httpd-2.4.2 - bug in ProxyErrorOverride

Hi,

when setting ProxyErrorOverride to "On" to get the httpd-ErrorDocument
instead of the backend-errordoc, httpd is waiting "ProxyTimeout" seconds
to respond to the client, even though the response is already read from
backend server.

The request/response is hanging somewhere in
module/proxy/mod_proxy_http
-> ap_proxy_http_process_response
-> ap_discard_request_body(backend->r) (modules/http/http_filters)
before timing out with "ProxyTimeout".


ProxyErrorOverride Directive:
http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxyerroroverride



Best regards,
Zisis