diff options
author | Yann Ylavic <ylavic@apache.org> | 2015-10-12 12:56:12 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2015-10-12 12:56:12 +0200 |
commit | 42742592f002bb6aae20120da12b4ea8186b2972 (patch) | |
tree | cb5498efb7982e43d3808ad766e3cd8e28acba0d /server/request.c | |
parent | ifdef'fing MMAP bucket checks for platform that do not have them (diff) | |
download | apache2-42742592f002bb6aae20120da12b4ea8186b2972.tar.xz apache2-42742592f002bb6aae20120da12b4ea8186b2972.zip |
core: we don't want to run the subrequest's handler if the
quick-handler returned an error (or any final status).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708084 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/request.c')
-rw-r--r-- | server/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/request.c b/server/request.c index abf084e31a..1719597ad7 100644 --- a/server/request.c +++ b/server/request.c @@ -2517,7 +2517,7 @@ AP_DECLARE(int) ap_run_sub_req(request_rec *r) if (!(r->filename && r->finfo.filetype != APR_NOFILE)) { retval = ap_run_quick_handler(r, 0); } - if (retval != OK) { + if (retval == DECLINED) { retval = ap_invoke_handler(r); if (retval == DONE) { retval = OK; |