From: Justin Erenkrantz Date: Thu, 30 May 2002 23:27:15 +0000 (+0000) Subject: This should have remained cleanup not a re-creation. X-Git-Tag: 2.0.37~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be12d995f2a1f095f474928485f3c22bed0e6bf3;p=thirdparty%2Fapache%2Fhttpd.git This should have remained cleanup not a re-creation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95418 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index fec8be96ef8..84ceb211e4d 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -877,7 +877,7 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, ctx->remaining = get_chunk_size(line); /* Detect chunksize error (such as overflow) */ if (ctx->remaining < 0) { - bb = apr_brigade_create(f->c->pool, f->c->bucket_alloc); + apr_brigade_cleanup(bb); e = ap_bucket_error_create(HTTP_REQUEST_ENTITY_TOO_LARGE, NULL, f->r->pool, f->c->bucket_alloc);