cleanup brigade before reusing it

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Fritsch
2009-10-04 09:00:26 +00:00
parent 922454bb69
commit aa726d199a

View File

@ -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);