]> granicus.if.org Git - php/commitdiff
Do not kill children process in pre-fork mode when parent process quit.
authorGeorge Wang <gwang@php.net>
Thu, 10 Jul 2014 18:59:25 +0000 (14:59 -0400)
committerGeorge Wang <gwang@php.net>
Thu, 10 Jul 2014 19:14:06 +0000 (15:14 -0400)
sapi/litespeed/lsapilib.c

index cdf9e882dc86703f58aa6ea80ca7d96139a69075..31cdb5718f64e8764af7e71a2e0a8a6b68b8740f 100644 (file)
@@ -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;
 
 }