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:40:55 UTC
svn commit: r607677 - /httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c
Author: wrowe
Date: Sun Dec 30 21:40:54 2007
New Revision: 607677
URL: http://svn.apache.org/viewvc?rev=607677&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/trunk/server/mpm/winnt/mpm_winnt.c
Modified: httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c?rev=607677&r1=607676&r2=607677&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c Sun Dec 30 21:40:54 2007
@@ -928,9 +928,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 */
}