From: Stefan Fritsch Date: Sun, 4 Oct 2009 09:00:26 +0000 (+0000) Subject: cleanup brigade before reusing it X-Git-Tag: 2.3.3~217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa726d199adcc464141d54948818b49d9e3acf3c;p=apache cleanup brigade before reusing it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821481 13f79535-47bb-0310-9956-ffa450edef68 --- 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);