summaryrefslogtreecommitdiffstats
path: root/modules/debugging
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2015-10-06 18:30:53 +0200
committerYann Ylavic <ylavic@apache.org>2015-10-06 18:30:53 +0200
commit357661feb8b7a3ccceb914437578fd90b8e9c0f4 (patch)
tree0fdd3cdedec771e55ddd144252bb998a8efcb2e0 /modules/debugging
parenteor_bucket: don't destroy the request multiple times should any filter (diff)
downloadapache2-357661feb8b7a3ccceb914437578fd90b8e9c0f4.tar.xz
apache2-357661feb8b7a3ccceb914437578fd90b8e9c0f4.zip
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
Diffstat (limited to 'modules/debugging')
-rw-r--r--modules/debugging/mod_bucketeer.c2
1 files changed, 2 insertions, 0 deletions
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);
}
}
}