com php-src: Do not kill children process in pre-fork mode when parent process quit.: sapi/litespeed/lsapilib.c
| From: | George Wang | Date: | Thu, 10 Jul 2014 19:53:20 +0000 |
| Subject: | com php-src: Do not kill children process in pre-fork mode when parent process quit.: sapi/litespeed/lsapilib.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79397@lists.php.net to get a copy of this message | ||
Commit: ad7eae751251f98c2d02a87804f50a9daac08ffe
Author: George Wang <gwang@php.net> Thu, 10 Jul 2014 14:59:25 -0400
Parents: f0b7db6c4e22b1e8e1794c0e66bb68532b0083ba
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ad7eae751251f98c2d02a87804f50a9daac08ffe
Log:
Do not kill children process in pre-fork mode when parent process quit.
Changed paths:
M sapi/litespeed/lsapilib.c
Diff:
diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c
index cdf9e88..31cdb57 100644
--- a/sapi/litespeed/lsapilib.c
+++ b/sapi/litespeed/lsapilib.c
@@ -2864,8 +2864,8 @@ static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer,
LSAPI_Re
}
}
sigaction( SIGUSR1, &old_usr1, 0 );
- kill( -getpgrp(), SIGUSR1 );
- lsapi_all_children_must_die(); /* Sorry, children ;-) */
+ //kill( -getpgrp(), SIGUSR1 );
+ //lsapi_all_children_must_die(); /* Sorry, children ;-) */
return -1;
}