You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bj...@apache.org on 2002/08/11 06:40:59 UTC
cvs commit: httpd-2.0/server/mpm/mpmt_os2 mpmt_os2.c
bjh 2002/08/10 21:40:59
Modified: server/mpm/mpmt_os2 mpmt_os2.c
Log:
Don't catch more than 1 SIGTERM in the parent process as doing so results
in an unkillable process if shutdown_pending doesn't manage to trigger
process exit.
Revision Changes Path
1.23 +1 -0 httpd-2.0/server/mpm/mpmt_os2/mpmt_os2.c
Index: mpmt_os2.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/mpmt_os2/mpmt_os2.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- mpmt_os2.c 7 Jun 2002 14:08:04 -0000 1.22
+++ mpmt_os2.c 11 Aug 2002 04:40:59 -0000 1.23
@@ -415,6 +415,7 @@
static void sig_term(int sig)
{
shutdown_pending = 1;
+ signal(SIGTERM, SIG_DFL);
}