httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-2.0 CHANGES
Date Thu, 21 Feb 2002 01:30:07 GMT
aaron       02/02/20 17:30:07

  Modified:    include  scoreboard.h
               server   scoreboard.c
               .        CHANGES
  Log:
  Placing the thread-limit and server-limit values, those which define the
  size of internal structures in the scoreboard, actually into the
  scoreboard allow third-party applications to access those structures.
  
  Submitted by:	Adam Sussman <myddryn@vishnu.vidya.com>
  Reviewed by:	Aaron Bannert
  
  Revision  Changes    Path
  1.42      +2 -0      httpd-2.0/include/scoreboard.h
  
  Index: scoreboard.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/scoreboard.h,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- scoreboard.h	19 Feb 2002 21:09:27 -0000	1.41
  +++ scoreboard.h	21 Feb 2002 01:30:06 -0000	1.42
  @@ -159,6 +159,8 @@
   };
   
   typedef struct {
  +    int             server_limit;
  +    int             thread_limit;
       ap_scoreboard_e sb_type;
       ap_generation_t running_generation;	/* the generation of children which
                                            * should still be serving requests. */
  
  
  
  1.58      +2 -0      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- scoreboard.c	19 Feb 2002 21:09:27 -0000	1.57
  +++ scoreboard.c	21 Feb 2002 01:30:06 -0000	1.58
  @@ -158,6 +158,8 @@
           more_storage += thread_limit * sizeof(worker_score);
       }
       ap_assert(more_storage == (char*)shared_score + scoreboard_size);
  +    ap_scoreboard_image->global->server_limit = server_limit;
  +    ap_scoreboard_image->global->thread_limit = thread_limit;
   }
   
   /**
  
  
  
  1.598     +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.597
  retrieving revision 1.598
  diff -u -r1.597 -r1.598
  --- CHANGES	20 Feb 2002 20:27:19 -0000	1.597
  +++ CHANGES	21 Feb 2002 01:30:06 -0000	1.598
  @@ -1,5 +1,9 @@
   Changes with Apache 2.0.33-dev
   
  +  *) Add the server-limit and thread-limit values to the scoreboard
  +     for the sake of third-party applications.
  +     [Adam Sussman <myddryn@vishnu.vidya.com>]
  +
     *) Fix segfault when proxy recieves an invalid HTTP response [Ian Holsman]
   
     *) OS/390: Get make install to properly copy DSO modules.
  
  
  

Mime
View raw message