mirror of
https://github.com/apache/httpd.git
synced 2026-01-26 19:01:35 +03:00
No sense in opening this event when it's already opened in the parent.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94050 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -443,7 +443,22 @@ AP_DECLARE(void) ap_signal_parent(ap_signal_parent_e type)
|
||||
HANDLE e;
|
||||
char *signal_name;
|
||||
|
||||
if (one_process) {
|
||||
if (parent_pid == my_pid) {
|
||||
switch(type) {
|
||||
case SIGNAL_PARENT_SHUTDOWN:
|
||||
{
|
||||
SetEvent(shutdown_event);
|
||||
break;
|
||||
}
|
||||
/* This MPM supports only graceful restarts right now */
|
||||
case SIGNAL_PARENT_RESTART:
|
||||
case SIGNAL_PARENT_RESTART_GRACEFUL:
|
||||
{
|
||||
is_graceful = 1;
|
||||
SetEvent(restart_event);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user