httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r124204 - /httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c
Date Wed, 05 Jan 2005 14:11:51 GMT
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);

Mime
View raw message