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 Sun, 28 Jan 2001 03:00:03 GMT
rbb         01/01/27 19:00:03

  Modified:    .        CHANGES
               server/mpm/prefork prefork.c
  Log:
  The prefork MPM wasn't killing child processes correctly if a restart
  signal was received while the process was serving a request.  The child
  process would become the equivalent of a second parent process.  If
  we break out of the accept loop, then we need to do die after cleaning
  up after ourselves.
  
  Revision  Changes    Path
  1.59      +6 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -d -b -w -u -r1.58 -r1.59
  --- CHANGES	2001/01/28 01:16:36	1.58
  +++ CHANGES	2001/01/28 03:00:01	1.59
  @@ -1,5 +1,11 @@
   Changes with Apache 2.0b1
   
  +  *) The prefork MPM wasn't killing child processes correctly if a restart
  +     signal was received while the process was serving a request.  The child
  +     process would become the equivalent of a second parent process.  If
  +     we break out of the accept loop, then we need to do die after cleaning
  +     up after ourselves.  [Ryan Bloom]
  +
     *) Change the Prefork MPM to use SIGWINCH instead of SIGUSR1 for graceful
        restarts.  [Ryan Bloom]
   
  
  
  
  1.148     +1 -0      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.147
  retrieving revision 1.148
  diff -u -d -b -w -u -r1.147 -r1.148
  --- prefork.c	2001/01/28 01:16:37	1.147
  +++ prefork.c	2001/01/28 03:00:03	1.148
  @@ -1052,6 +1052,7 @@
   	ap_process_connection(current_conn);
           ap_lingering_close(current_conn);
       }
  +    clean_child_exit(0);
   }
   
   
  
  
  

Mime
View raw message