From bfee8f2aa8d5d3d21b5af8ce55dec721d0ac0f2a Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 18 Feb 2002 16:18:10 +0000 Subject: [PATCH] close an extremely unlikely file descriptor leak in dummy_connection() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93479 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/mpm_common.c b/server/mpm_common.c index 33642d6acf..29075e67e8 100644 --- a/server/mpm_common.c +++ b/server/mpm_common.c @@ -470,6 +470,7 @@ static apr_status_t dummy_connection(ap_pod_t *pod) if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, "set timeout on socket to connect to listener"); + apr_socket_close(sock); return rv; } -- 2.40.0