]> granicus.if.org Git - apache/commitdiff
This should have remained cleanup not a re-creation.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 30 May 2002 23:27:15 +0000 (23:27 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 30 May 2002 23:27:15 +0000 (23:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95418 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index fec8be96ef8c9ff366efa4fafb7a66b2c2c76137..84ceb211e4de40fd59baf0305a7bedac265e8f3f 100644 (file)
@@ -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);