httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1735649 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Date Fri, 18 Mar 2016 17:33:40 GMT
Author: trawick
Date: Fri Mar 18 17:33:40 2016
New Revision: 1735649

URL: http://svn.apache.org/viewvc?rev=1735649&view=rev
Log:
Add missing proxy_run_detach_backend() on error path

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=1735649&r1=1735648&r2=1735649&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Fri Mar 18 17:33:40 2016
@@ -1495,6 +1495,7 @@ int ap_proxy_http_process_response(apr_p
             if (toclose) {
                 backend->close = 1;
                 if (toclose < 0) {
+                    proxy_run_detach_backend(r, backend);
                     return ap_proxyerror(r, HTTP_BAD_GATEWAY,
                                          "Malformed connection header");
                 }



Mime
View raw message