]> granicus.if.org Git - apache/commit
mod_proxy_http: Allocate the fake backend request from a child pool
authorGraham Leggett <minfrin@apache.org>
Wed, 5 Jan 2011 00:23:43 +0000 (00:23 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 5 Jan 2011 00:23:43 +0000 (00:23 +0000)
commite0cf3c996e323eca4179987a4a3fe85977b54fc1
treeebb0f5c4a8a2fa8e378bc82ec1e9d9494555960c
parentb7e70e242d3b3d102c3a85d73af92691c2227840
mod_proxy_http: Allocate the fake backend request from a child pool
of the backend connection, instead of misusing the pool of the frontend
request. Fixes a thread safety issue where buckets set aside in the
backend connection leak into other threads, and then disappear when
the frontend request is cleaned up, in turn causing corrupted buckets
to make other threads spin.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1055250 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy_http.c
modules/proxy/proxy_util.c