From: Jeff Trawick Date: Fri, 18 Mar 2016 17:33:40 +0000 (+0000) Subject: Add missing proxy_run_detach_backend() on error path X-Git-Tag: 2.5.0-alpha~1871 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7055ceebe7eca414d20bc58bad88ee0675667b55;p=thirdparty%2Fapache%2Fhttpd.git Add missing proxy_run_detach_backend() on error path git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735649 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 056c283f395..45fa989b7ac 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -1495,6 +1495,7 @@ int ap_proxy_http_process_response(apr_pool_t * p, request_rec *r, if (toclose) { backend->close = 1; if (toclose < 0) { + proxy_run_detach_backend(r, backend); return ap_proxyerror(r, HTTP_BAD_GATEWAY, "Malformed connection header"); }