/[Apache-SVN]/httpd/httpd/trunk/modules/generators/mod_status.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/generators/mod_status.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1450998 by jim, Wed Feb 27 22:16:34 2013 UTC revision 1610491 by jorton, Mon Jul 14 19:26:00 2014 UTC
# Line 194  static int status_handler(request_rec *r Line 194  static int status_handler(request_rec *r
194      long req_time;      long req_time;
195      int short_report;      int short_report;
196      int no_table_report;      int no_table_report;
197      worker_score *ws_record;      worker_score *ws_record = apr_palloc(r->pool, sizeof *ws_record);
198      process_score *ps_record;      process_score *ps_record;
199      char *stat_buffer;      char *stat_buffer;
200      pid_t *pid_buffer, worker_pid;      pid_t *pid_buffer, worker_pid;
# Line 306  static int status_handler(request_rec *r Line 306  static int status_handler(request_rec *r
306          for (j = 0; j < thread_limit; ++j) {          for (j = 0; j < thread_limit; ++j) {
307              int indx = (i * thread_limit) + j;              int indx = (i * thread_limit) + j;
308    
309              ws_record = ap_get_scoreboard_worker_from_indexes(i, j);              ap_copy_scoreboard_worker(ws_record, i, j);
310              res = ws_record->status;              res = ws_record->status;
311    
312              if ((i >= max_servers || j >= threads_per_child)              if ((i >= max_servers || j >= threads_per_child)
# Line 637  static int status_handler(request_rec *r Line 637  static int status_handler(request_rec *r
637    
638          for (i = 0; i < server_limit; ++i) {          for (i = 0; i < server_limit; ++i) {
639              for (j = 0; j < thread_limit; ++j) {              for (j = 0; j < thread_limit; ++j) {
640                  ws_record = ap_get_scoreboard_worker_from_indexes(i, j);                  ap_copy_scoreboard_worker(ws_record, i, j);
641    
642                  if (ws_record->access_count == 0 &&                  if (ws_record->access_count == 0 &&
643                      (ws_record->status == SERVER_READY ||                      (ws_record->status == SERVER_READY ||

Legend:
Removed from v.1450998  
changed lines
  Added in v.1610491

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26