]> granicus.if.org Git - apache/commitdiff
Ensure that any meta buckets are stripped while parsing a chunk.
authorGraham Leggett <minfrin@apache.org>
Thu, 23 May 2013 16:31:01 +0000 (16:31 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 23 May 2013 16:31:01 +0000 (16:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1485772 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_filters.c

index 7a0b79ee801518a75653539444d936cb143e80ff..a794d95e8dee7329454c6f6406291caac571bdc2 100644 (file)
@@ -331,9 +331,9 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b,
         APR_BRIGADE_INSERT_TAIL(b, e);
         return APR_SUCCESS;
     }
-    apr_brigade_cleanup(b);
 
     do {
+        apr_brigade_cleanup(b);
         again = 0; /* until further notice */
 
         /* read and handle the brigade */