From e9a12935d124907df69f29d6d7e1456bd2b0a350 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Sat, 7 Apr 2001 14:06:13 +0000 Subject: [PATCH] Sockets weren't being closed if the proxy could not connect to a remote machine... PR: Obtained from: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88751 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 359fe30f62..18f3ec6394 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -349,6 +349,7 @@ int ap_proxy_http_handler(request_rec *r, char *url, /* handle a permanent error from the above loop */ if (failed) { + apr_socket_close(sock); if (proxyname) { return DECLINED; } -- 2.40.0