You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/02/18 17:24:51 UTC
cvs commit: httpd-2.0/server/mpm/worker pod.c
trawick 02/02/18 08:24:51
Modified: server/mpm/worker pod.c
Log:
close a nearly-impossible leak in dummy_connection (the copy of the
code used by worker MPM)
Revision Changes Path
1.2 +1 -0 httpd-2.0/server/mpm/worker/pod.c
Index: pod.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/worker/pod.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pod.c 11 Feb 2002 04:56:10 -0000 1.1
+++ pod.c 18 Feb 2002 16:24:51 -0000 1.2
@@ -181,6 +181,7 @@
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;
}