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 2017/02/14 22:32:06 UTC
svn commit: r1783041 - /httpd/httpd/trunk/server/core.c
Author: ylavic
Date: Tue Feb 14 22:32:05 2017
New Revision: 1783041
URL: http://svn.apache.org/viewvc?rev=1783041&view=rev
Log:
default_handler: cleanup outputed brigade before leaving.
Modified:
httpd/httpd/trunk/server/core.c
Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1783041&r1=1783040&r2=1783041&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Tue Feb 14 22:32:05 2017
@@ -5017,6 +5017,8 @@ static int default_handler(request_rec *
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) {