]> granicus.if.org Git - apache/commit
mod_proxy_fcgi: avoid loops serving proxied error documents
authorLuca Toscano <elukey@apache.org>
Mon, 18 Jul 2016 08:02:23 +0000 (08:02 +0000)
committerLuca Toscano <elukey@apache.org>
Mon, 18 Jul 2016 08:02:23 +0000 (08:02 +0000)
commit3655cf4b8de682c269b5c8bfa4ceb73eea6f14da
tree92706124dbed64eef79c041772877050128f681d
parent45793ced4126fc1536c7eb5760d48dccdf1106c4
mod_proxy_fcgi: avoid loops serving proxied error documents

This commit should solve the issue indicated in PR 55415.
Httpd loops while serving a error document if:
1) The error document's content is proxied.
2) ProxyErrorOverride is set.
The solution proposed is to limit the use of ap_die only
to the initial request. I tested the change with very basic
scenarios but I am not sure if I got all the use cases,
feedback is really welcome.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1753167 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy_fcgi.c