httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r607679 - /httpd/httpd/branches/2.0.x/server/mpm/winnt/mpm_winnt.c
Date Mon, 31 Dec 2007 05:42:10 GMT
Author: wrowe
Date: Sun Dec 30 21:42:10 2007
New Revision: 607679

URL: http://svn.apache.org/viewvc?rev=607679&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>

Backport: r607677

Modified:
    httpd/httpd/branches/2.0.x/server/mpm/winnt/mpm_winnt.c

Modified: httpd/httpd/branches/2.0.x/server/mpm/winnt/mpm_winnt.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/server/mpm/winnt/mpm_winnt.c?rev=607679&r1=607678&r2=607679&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/server/mpm/winnt/mpm_winnt.c (original)
+++ httpd/httpd/branches/2.0.x/server/mpm/winnt/mpm_winnt.c Sun Dec 30 21:42:10 2007
@@ -990,9 +990,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 */
 }
 



Mime
View raw message