httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-2.0/server scoreboard.c
Date Mon, 23 Jul 2001 18:17:16 GMT
gregames    01/07/23 11:17:16

  Modified:    server   scoreboard.c
  Log:
  prevent seg faults in mod_status with ExtendedStatus enabled, after
  a restart.  A pointer to the previous generation's vhost server_rec
  could be left in the worker_score under certain conditions.
  
  Revision  Changes    Path
  1.31      +1 -0      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- scoreboard.c	2001/07/18 21:13:04	1.30
  +++ scoreboard.c	2001/07/23 18:17:16	1.31
  @@ -294,6 +294,7 @@
   	&& old_status == SERVER_STARTING) {
           ws->thread_num = child_num * HARD_SERVER_LIMIT + thread_num;
           ps->generation = ap_my_generation;
  +        ws->vhostrec = NULL;
       }
   
       if (ap_extended_status) {
  
  
  

Mime
View raw message