From: Yann Ylavic Date: Mon, 12 Oct 2015 11:04:02 +0000 (+0000) Subject: core: follow up to r1708084: we still need to take care of DONE in any case. X-Git-Tag: 2.5.0-alpha~2723 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85717fad83adae674f30bb0ab875dda7d419b770;p=thirdparty%2Fapache%2Fhttpd.git core: follow up to r1708084: we still need to take care of DONE in any case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708088 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/request.c b/server/request.c index 1719597ad74..f75333b5a52 100644 --- a/server/request.c +++ b/server/request.c @@ -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; }