From ba6ece31619e16f106891a7ac09001d40261a065 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Mon, 24 Aug 2015 07:43:19 +0000 Subject: [PATCH] * 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 --- modules/proxy/proxy_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.40.0