Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 26175 invoked by uid 6000); 15 Feb 1999 20:40:33 -0000 Received: (qmail 26168 invoked by alias); 15 Feb 1999 20:40:31 -0000 Delivered-To: apache-apr-cvs@hyperreal.org Received: (qmail 26166 invoked by uid 236); 15 Feb 1999 20:40:31 -0000 Date: 15 Feb 1999 20:40:31 -0000 Message-ID: <19990215204031.26165.qmail@hyperreal.org> From: rbb@hyperreal.org To: apache-apr-cvs@hyperreal.org Subject: cvs commit: apache-apr/pthreads/src/modules/standard mod_status.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org rbb 99/02/15 12:40:30 Modified: pthreads/src/modules/standard mod_status.c Log: Changes to mod_status so that the two new states for threads are recognized and reported properly. Revision Changes Path 1.5 +12 -0 apache-apr/pthreads/src/modules/standard/mod_status.c Index: mod_status.c =================================================================== RCS file: /home/cvs/apache-apr/pthreads/src/modules/standard/mod_status.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- mod_status.c 1999/02/15 07:43:57 1.4 +++ mod_status.c 1999/02/15 20:40:30 1.5 @@ -650,6 +650,12 @@ case SERVER_GRACEFUL: ap_rputs("G", r); break; + case SERVER_ACCEPTING: + ap_rputs("A", r); + break; + case SERVER_QUEUEING: + ap_rputs("Q", r); + break; default: ap_rputs("?", r); break; @@ -742,6 +748,10 @@ static void status_init(server_rec *s, pool *p) { + int i; + for (i = 0; i < SERVER_NUM_STATUS; i++) + status_flags[i] = '?'; + status_flags[SERVER_DEAD] = '.'; /* We don't want to assume these are in */ status_flags[SERVER_READY] = '_'; /* any particular order in scoreboard.h */ status_flags[SERVER_STARTING] = 'S'; @@ -751,6 +761,8 @@ status_flags[SERVER_BUSY_LOG] = 'L'; status_flags[SERVER_BUSY_DNS] = 'D'; status_flags[SERVER_GRACEFUL] = 'G'; + status_flags[SERVER_ACCEPTING] = 'A'; + status_flags[SERVER_QUEUEING] = 'Q'; } static const handler_rec status_handlers[] =