From: George Wang Date: Thu, 10 Jul 2014 18:59:25 +0000 (-0400) Subject: Do not kill children process in pre-fork mode when parent process quit. X-Git-Tag: php-5.6.0RC3~1^2~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad7eae751251f98c2d02a87804f50a9daac08ffe;p=php Do not kill children process in pre-fork mode when parent process quit. --- diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c index cdf9e882dc..31cdb5718f 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; }