]> granicus.if.org Git - apache/commitdiff
default_handler: cleanup outputed brigade before leaving.
authorYann Ylavic <ylavic@apache.org>
Tue, 14 Feb 2017 22:32:05 +0000 (22:32 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 14 Feb 2017 22:32:05 +0000 (22:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783041 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index f8027696494e55ce3f8a78cd65ff7c3f5b9e8654..34b7ad67e1dadb680b761f7068d82461548876e4 100644 (file)
@@ -5017,6 +5017,8 @@ static int default_handler(request_rec *r)
         APR_BRIGADE_INSERT_TAIL(bb, e);
 
         status = ap_pass_brigade(r->output_filters, bb);
+        apr_brigade_cleanup(bb);
+
         if (status == APR_SUCCESS
             || r->status != HTTP_OK
             || c->aborted) {