]> granicus.if.org Git - apache/commitdiff
* Do a more complete cleanup here. At this point we cannot end up with something...
authorRuediger Pluem <rpluem@apache.org>
Mon, 24 Aug 2015 07:43:19 +0000 (07:43 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 24 Aug 2015 07:43:19 +0000 (07:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1697323 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index e9e083a1dcb0236894a4cb6d7fd3d073233f20d8..94eb3c20e778a734bfbe817b39ffc4e17811edc3 100644 (file)
@@ -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;
     }