Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 30428 invoked by uid 500); 7 Apr 2001 14:06:13 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 30417 invoked by uid 500); 7 Apr 2001 14:06:13 -0000 Delivered-To: apmail-httpd-proxy-cvs@apache.org Date: 7 Apr 2001 14:06:13 -0000 Message-ID: <20010407140613.30413.qmail@apache.org> From: minfrin@apache.org To: httpd-proxy-cvs@apache.org Subject: cvs commit: httpd-proxy/module-2.0 proxy_http.c minfrin 01/04/07 07:06:13 Modified: module-2.0 proxy_http.c Log: Sockets weren't being closed if the proxy could not connect to a remote machine... Revision Changes Path 1.46 +1 -0 httpd-proxy/module-2.0/proxy_http.c Index: proxy_http.c =================================================================== RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_http.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- proxy_http.c 2001/04/07 12:24:38 1.45 +++ proxy_http.c 2001/04/07 14:06:13 1.46 @@ -349,6 +349,7 @@ /* handle a permanent error from the above loop */ if (failed) { + apr_socket_close(sock); if (proxyname) { return DECLINED; }