From: Ruediger Pluem Date: Mon, 24 Aug 2015 07:43:19 +0000 (+0000) Subject: * Do a more complete cleanup here. At this point we cannot end up with something... X-Git-Tag: 2.5.0-alpha~2930 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba6ece31619e16f106891a7ac09001d40261a065;p=apache * Do a more complete cleanup here. At this point we cannot end up with something useful with the data we created so far. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1697323 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index e9e083a1dc..94eb3c20e7 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -2933,8 +2933,7 @@ PROXY_DECLARE(int) ap_proxy_connect_backend(const char *proxy_function, * not continue with a connection via this worker even if we got one. */ if (connected) { - apr_socket_close(conn->sock ); - conn->sock = NULL; + socket_cleanup(conn); } return DECLINED; }