]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
core: follow up to r1708084: we still need to take care of DONE in any case.
authorYann Ylavic <ylavic@apache.org>
Mon, 12 Oct 2015 11:04:02 +0000 (11:04 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 12 Oct 2015 11:04:02 +0000 (11:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708088 13f79535-47bb-0310-9956-ffa450edef68

server/request.c

index 1719597ad741e58b05fc69a613aa6c8f970f794b..f75333b5a52021a2f712f7733cb2aa99d8bcd964 100644 (file)
@@ -2519,10 +2519,10 @@ AP_DECLARE(int) ap_run_sub_req(request_rec *r)
     }
     if (retval == DECLINED) {
         retval = ap_invoke_handler(r);
-        if (retval == DONE) {
-            retval = OK;
-        }
     }
+       if (retval == DONE) {
+               retval = OK;
+       }
     ap_finalize_sub_req_protocol(r);
     return retval;
 }