From: Yann Ylavic Date: Tue, 6 Oct 2015 16:30:53 +0000 (+0000) Subject: mod_bucketeer: cleanup properly on EOS and write. X-Git-Tag: 2.5.0-alpha~2753 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357661feb8b7a3ccceb914437578fd90b8e9c0f4;p=thirdparty%2Fapache%2Fhttpd.git mod_bucketeer: cleanup properly on EOS and write. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707087 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/debugging/mod_bucketeer.c b/modules/debugging/mod_bucketeer.c index 4142cbe22e5..2b10cd5b006 100644 --- a/modules/debugging/mod_bucketeer.c +++ b/modules/debugging/mod_bucketeer.c @@ -95,6 +95,7 @@ static apr_status_t bucketeer_out_filter(ap_filter_t *f, /* Okay, we've seen the EOS. * Time to pass it along down the chain. */ + ap_remove_output_filter(f); return ap_pass_brigade(f->next, ctx->bb); } @@ -145,6 +146,7 @@ static apr_status_t bucketeer_out_filter(ap_filter_t *f, if (rv) { return rv; } + apr_brigade_cleanup(ctx->bb); } } }