httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/server scoreboard.c connection.c
Date Wed, 14 Feb 2001 02:52:23 GMT
stoddard    01/02/13 18:52:23

  Modified:    include  scoreboard.h
               server   scoreboard.c connection.c
  Log:
  Start getting extended status working again.
  
  Revision  Changes    Path
  1.12      +3 -1      httpd-2.0/include/scoreboard.h
  
  Index: scoreboard.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/scoreboard.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- scoreboard.h	2001/02/09 16:11:43	1.11
  +++ scoreboard.h	2001/02/14 02:52:22	1.12
  @@ -225,12 +225,14 @@
   
   AP_DECLARE(int) ap_exists_scoreboard_image(void);
   AP_DECLARE(void) ap_create_scoreboard(apr_pool_t *p, ap_scoreboard_e t);
  +AP_DECLARE(void) ap_increment_counts(int child_num, int thread_num, request_rec *r);
  +
   apr_status_t ap_cleanup_scoreboard(void *d);
   
   AP_DECLARE(void) reopen_scoreboard(apr_pool_t *p);
   
   void ap_sync_scoreboard_image(void);
  -void increment_counts(int child_num, int thread_num, request_rec *r);
  +
   void update_scoreboard_global(void);
   AP_DECLARE(int) find_child_by_pid(apr_proc_t *pid);
   int ap_update_child_status(int child_num, int thread_num, int status, request_rec *r);
  
  
  
  1.16      +1 -1      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- scoreboard.c	2001/02/12 02:42:10	1.15
  +++ scoreboard.c	2001/02/14 02:52:23	1.16
  @@ -231,7 +231,7 @@
   #endif
   }
   
  -void increment_counts(int child_num, int thread_num, request_rec *r)
  +AP_DECLARE(void) ap_increment_counts(int child_num, int thread_num, request_rec *r)
   {
       short_score *ss;
   
  
  
  
  1.77      +3 -0      httpd-2.0/server/connection.c
  
  Index: connection.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/connection.c,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- connection.c	2001/02/12 23:00:24	1.76
  +++ connection.c	2001/02/14 02:52:23	1.77
  @@ -245,6 +245,9 @@
   	if (r->status == HTTP_OK)
   	    ap_process_request(r);
   
  +        if (ap_extended_status)
  +            ap_increment_counts(AP_CHILD_THREAD_FROM_ID(c->id), r);
  +
   	if (!c->keepalive || c->aborted)
   	    break;
   
  
  
  

Mime
View raw message