diff options
author | Jeff Trawick <trawick@apache.org> | 2002-02-18 17:24:51 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-02-18 17:24:51 +0100 |
commit | e821b24c998590a07561a7118ef524dbeb749e9e (patch) | |
tree | ebe1bdf252af92b0189b8d2f6988635f60365f23 /server/mpm | |
parent | close an extremely unlikely file descriptor leak in (diff) | |
download | apache2-e821b24c998590a07561a7118ef524dbeb749e9e.tar.xz apache2-e821b24c998590a07561a7118ef524dbeb749e9e.zip |
close a nearly-impossible leak in dummy_connection (the copy of the
code used by worker MPM)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93480 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm')
-rw-r--r-- | server/mpm/worker/pod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/mpm/worker/pod.c b/server/mpm/worker/pod.c index c869e43832..1067f284d3 100644 --- a/server/mpm/worker/pod.c +++ b/server/mpm/worker/pod.c @@ -181,6 +181,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; } |