You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2015/10/12 12:56:12 UTC

svn commit: r1708084 - /httpd/httpd/trunk/server/request.c

Author: ylavic
Date: Mon Oct 12 10:56:12 2015
New Revision: 1708084

URL: http://svn.apache.org/viewvc?rev=1708084&view=rev
Log:
core: we don't want to run the subrequest's handler if the
quick-handler returned an error (or any final status).

Modified:
    httpd/httpd/trunk/server/request.c

Modified: httpd/httpd/trunk/server/request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/request.c?rev=1708084&r1=1708083&r2=1708084&view=diff
==============================================================================
--- httpd/httpd/trunk/server/request.c (original)
+++ httpd/httpd/trunk/server/request.c Mon Oct 12 10:56:12 2015
@@ -2517,7 +2517,7 @@ AP_DECLARE(int) ap_run_sub_req(request_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;