From 357661feb8b7a3ccceb914437578fd90b8e9c0f4 Mon Sep 17 00:00:00 2001 From: Yann Ylavic <ylavic@apache.org> Date: Tue, 6 Oct 2015 16:30:53 +0000 Subject: [PATCH] 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 --- modules/debugging/mod_bucketeer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/debugging/mod_bucketeer.c b/modules/debugging/mod_bucketeer.c index 4142cbe22e..2b10cd5b00 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); } } } -- 2.40.0