]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Use correct bucket allocator for sending data to the backend
authorRuediger Pluem <rpluem@apache.org>
Wed, 17 Feb 2016 12:37:46 +0000 (12:37 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 17 Feb 2016 12:37:46 +0000 (12:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730823 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_wstunnel.c

index 0ff50796bc1481cee0401b0e192b0170431c1dee..0e92011b2790e836725b8433557b38df57bb719c 100644 (file)
@@ -318,7 +318,7 @@ static int proxy_wstunnel_request(apr_pool_t *p, request_rec *r,
     e = apr_bucket_pool_create(buf, strlen(buf), p, c->bucket_alloc);
     APR_BRIGADE_INSERT_TAIL(header_brigade, e);
 
-    if ((rv = ap_proxy_pass_brigade(c->bucket_alloc, r, conn, backconn,
+    if ((rv = ap_proxy_pass_brigade(backconn->bucket_alloc, r, conn, backconn,
                                     header_brigade, 1)) != OK)
         return rv;