ap_proxy_http_cleanup() is suppressed, so that the backend is not cleaned
twice. Fixes a further thread safety issue.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1055246 13f79535-47bb-0310-9956-
ffa450edef68
ap_proxy_release_connection(backend->worker->scheme,
backend, r->server);
/* Ensure that the backend is not reused */
- backend_ptr = NULL;
+ *backend_ptr = NULL;
}
* longer save to fiddle around with backend as it might
* be already in use by another thread.
*/
- if (backend_ptr) {
+ if (*backend_ptr) {
backend->close = 1; /* this causes socket close below */
}
finish = TRUE;
*/
ap_proxy_release_connection(backend->worker->scheme,
backend, r->server);
- backend_ptr = NULL;
+ *backend_ptr = NULL;
/* Pass EOS bucket down the filter chain. */
e = apr_bucket_eos_create(c->bucket_alloc);