Commit e76c818b authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent dc0dca99
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);