httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0 CHANGES
Date Wed, 28 Jan 2004 15:31:11 GMT
trawick     2004/01/28 07:31:11

  Modified:    server/mpm/worker worker.c
               .        CHANGES
  Log:
  worker MPM: fix stack overlay bug that could cause the parent
  process to crash.
  
  Revision  Changes    Path
  1.146     +2 -1      httpd-2.0/server/mpm/worker/worker.c
  
  Index: worker.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/worker/worker.c,v
  retrieving revision 1.145
  retrieving revision 1.146
  diff -u -r1.145 -r1.146
  --- worker.c	27 Jan 2004 15:19:58 -0000	1.145
  +++ worker.c	28 Jan 2004 15:30:57 -0000	1.146
  @@ -1441,7 +1441,8 @@
                   ++idle_thread_count;
               }
           }
  -        if (any_dead_threads && totally_free_length < idle_spawn_rate 
  +        if (any_dead_threads && totally_free_length < idle_spawn_rate
  +                && free_length < MAX_SPAWN_RATE
                   && (!ps->pid               /* no process in the slot */
                       || ps->quiescing)) {   /* or at least one is going away */
               if (all_dead_threads) {
  
  
  
  1.1379    +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1378
  retrieving revision 1.1379
  diff -u -r1.1378 -r1.1379
  --- CHANGES	27 Jan 2004 15:19:58 -0000	1.1378
  +++ CHANGES	28 Jan 2004 15:31:02 -0000	1.1379
  @@ -2,6 +2,9 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) worker MPM: fix stack overlay bug that could cause the parent
  +     process to crash.  [Jeff Trawick]
  +
     *) Unix MPMs: Stop dropping connections when the file descriptor
        is at least FD_SETSIZE.  [Jeff Trawick]
   
  
  
  

Mime
View raw message