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("<td>G", r); break; + case SERVER_ACCEPTING: + ap_rputs("<td>A", r); + break; + case SERVER_QUEUEING: + ap_rputs("<td>Q", r); + break; default: ap_rputs("<td>?", 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[] =