]> granicus.if.org Git - apache/commitdiff
* modules/proxy/mod_proxy_http.c (ap_proxy_http_request): Use the same
authorJoe Orton <jorton@apache.org>
Mon, 21 Oct 2013 18:58:26 +0000 (18:58 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 21 Oct 2013 18:58:26 +0000 (18:58 +0000)
  brigade lifetime for the header brigade as the other brigades.
  POSSIBLE (but as yet unconfirmed) fix for crashes seen with threaded
  servers, e.g. PR 50335; appears correct or at least not harmful.

PR: 50335

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534321 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index da56543397759211295695e14f4c440bd62d772a..f166720b2e4dd9f5ca18d0400d7841440190e7f4 100644 (file)
@@ -710,7 +710,7 @@ int ap_proxy_http_request(apr_pool_t *p, request_rec *r,
         force10 = 0;
     }
 
-    header_brigade = apr_brigade_create(p, origin->bucket_alloc);
+    header_brigade = apr_brigade_create(p, bucket_alloc);
     rv = ap_proxy_create_hdrbrgd(p, header_brigade, r, p_conn,
                                  worker, conf, uri, url, server_portstr,
                                  &old_cl_val, &old_te_val);