]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a problem in the path which preserves the input content
authorJeff Trawick <trawick@apache.org>
Wed, 5 Jan 2005 14:08:00 +0000 (14:08 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 5 Jan 2005 14:08:00 +0000 (14:08 +0000)
length; the header brigade would get lost

Submitted by: Allan Edwards

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124202 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_http.c

index 6900d3f242b3da37e5f28cc9a14123a270cf48ed..100cc0b979fbc069afa2b8fcab7506903ceeb4c9 100644 (file)
@@ -457,7 +457,7 @@ static apr_status_t stream_reqbody_cl(apr_pool_t *p,
             b = input_brigade;
         }
         
-        status = pass_brigade(r, conn, origin, input_brigade, 1);
+        status = pass_brigade(r, conn, origin, b, 1);
         if (status != APR_SUCCESS) {
             return status;
         }