httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Mon, 04 Jun 2001 04:00:04 GMT
rbb         01/06/03 21:00:04

  Modified:    server/mpm/prefork prefork.c
  Log:
  Fix some broken logic in the prefork MPM.  Basically, in the past, if we
  accepted a request, we didn't want to die if given a graceful restart
  signal.  The logic I am removing stops us from dying for a graceless
  restart/stop signal, which is just wrong.  If we are sent a graceless
  restart/stop, then we need to stop immediately.
  
  Revision  Changes    Path
  1.176     +0 -1      httpd-2.0/server/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
  retrieving revision 1.175
  retrieving revision 1.176
  diff -u -d -b -w -u -r1.175 -r1.176
  --- prefork.c	2001/05/15 02:38:15	1.175
  +++ prefork.c	2001/06/04 04:00:03	1.176
  @@ -667,7 +667,6 @@
   	    /* if we accept() something we don't want to die, so we have to
   	     * defer the exit
   	     */
  -            apr_signal(SIGTERM, please_die_gracefully);
   	    for (;;) {
                   ap_sync_scoreboard_image();
   		if (I_AM_TO_SHUTDOWN()) {
  
  
  

Mime
View raw message