You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2005/01/05 15:11:51 UTC
svn commit: r124204 - /httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c
Author: trawick
Date: Wed Jan 5 06:11:49 2005
New Revision: 124204
URL: http://svn.apache.org/viewcvs?view=rev&rev=124204
Log:
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
Modified:
httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c
Modified: httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c?view=diff&rev=124204&p1=httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c&r1=124203&p2=httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c&r2=124204
==============================================================================
--- httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c (original)
+++ httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c Wed Jan 5 06:11:49 2005
@@ -564,6 +564,7 @@
AP_DEBUG_ASSERT(bytes_read == bytes_written);
fsize += bytes_written;
}
+ apr_brigade_cleanup(input_brigade);
}
else {
APR_BRIGADE_CONCAT(body_brigade, input_brigade);