You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/12/31 06:41:06 UTC
svn commit: r607678 -
/httpd/httpd/branches/2.2.x/server/mpm/winnt/mpm_winnt.c
Author: wrowe
Date: Sun Dec 30 21:41:05 2007
New Revision: 607678
URL: http://svn.apache.org/viewvc?rev=607678&view=rev
Log:
Close the child_exit_event which lives only for the scope
of master_main and was orphaned on each soft or fatal restart.
PR: 40932
Submitted by: Jeff Robbins <jeffr livedata.com>
Modified:
httpd/httpd/branches/2.2.x/server/mpm/winnt/mpm_winnt.c
Modified: httpd/httpd/branches/2.2.x/server/mpm/winnt/mpm_winnt.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/server/mpm/winnt/mpm_winnt.c?rev=607678&r1=607677&r2=607678&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/server/mpm/winnt/mpm_winnt.c (original)
+++ httpd/httpd/branches/2.2.x/server/mpm/winnt/mpm_winnt.c Sun Dec 30 21:41:05 2007
@@ -992,9 +992,11 @@
event_handles[CHILD_HANDLE] = NULL;
}
}
+ CloseHandle(child_exit_event);
return 0; /* Tell the caller we do not want to restart */
}
winnt_mpm_state = AP_MPMQ_STARTING;
+ CloseHandle(child_exit_event);
return 1; /* Tell the caller we want a restart */
}