httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: httpd-2.0/server/mpm/mpmt_os2 mpmt_os2_child.c
Date Wed, 17 Apr 2002 14:55:20 GMT
bjh         02/04/17 07:55:20

  Modified:    server/mpm/mpmt_os2 mpmt_os2_child.c
  Log:
  When an exception in a worker thread initiates a child shutdown, get things
  moving sooner by sending a SIGHUP to the accept thread, breaking it out
  of its accept/poll.
  
  Revision  Changes    Path
  1.21      +1 -0      httpd-2.0/server/mpm/mpmt_os2/mpmt_os2_child.c
  
  Index: mpmt_os2_child.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/mpmt_os2/mpmt_os2_child.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- mpmt_os2_child.c	14 Apr 2002 06:18:13 -0000	1.20
  +++ mpmt_os2_child.c	17 Apr 2002 14:55:20 -0000	1.21
  @@ -387,6 +387,7 @@
           /* Shut down process ASAP, it could be quite unhealthy & leaking resources
*/
           shutdown_pending = 1;
           ap_scoreboard_image->parent[child_slot].quiescing = 1;
  +        kill(getpid(), SIGHUP);
           DosUnwindException(UNWIND_ALL, 0, 0);
       }
     
  
  
  

Mime
View raw message