From 168ee6cbfb7ea414e1d90baf36c3bc7ecc70902f Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 5 Jan 2005 14:11:49 +0000 Subject: [PATCH] clean up the data that we just wrote to the spool file; otherwise, very very nasty stuff happens when input brigade with same contents is passed down to filters to grab more body data git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124204 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 100cc0b979f..e11336dae6d 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -564,6 +564,7 @@ static apr_status_t spool_reqbody_cl(apr_pool_t *p, AP_DEBUG_ASSERT(bytes_read == bytes_written); fsize += bytes_written; } + apr_brigade_cleanup(input_brigade); } else { APR_BRIGADE_CONCAT(body_brigade, input_brigade); -- 2.47.3