From aa726d199adcc464141d54948818b49d9e3acf3c Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sun, 4 Oct 2009 09:00:26 +0000 Subject: [PATCH] cleanup brigade before reusing it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821481 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/protocol.c b/server/protocol.c index 85965d08bc..20ff6a6e38 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1310,6 +1310,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_content_length_filter( if (rv != APR_SUCCESS || f->c->aborted) { return rv; } + apr_brigade_cleanup(b); APR_BRIGADE_CONCAT(b, ctx->tmpbb); e = APR_BRIGADE_FIRST(b); -- 2.50.1