httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/mpm/mpmt mpmt.c
Date Thu, 13 Jul 2000 16:06:48 GMT
rbb         00/07/13 09:06:47

  Modified:    src/modules/mpm/mpmt mpmt.c
  Log:
  mpmt needs to deal with signals in PREFORK mode.
  
  Revision  Changes    Path
  1.12      +5 -0      apache-2.0/src/modules/mpm/mpmt/mpmt.c
  
  Index: mpmt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt/mpmt.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mpmt.c	2000/07/11 22:12:16	1.11
  +++ mpmt.c	2000/07/13 16:06:46	1.12
  @@ -938,6 +938,11 @@
   
       ap_child_init_hook(pchild, ap_server_conf);
   
  +#ifdef (PREFORK)
  +    ap_signal(SIGHUP, just_die);
  +    ap_signal(SIGTERM, just_die);
  +#endif
  +
       /*done with init critical section */
   
       /* All threads should mask signals out, accoring to sigwait(2) man page */
  
  
  

Mime
View raw message