httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_status.c
Date Thu, 31 May 2001 18:10:07 GMT
trawick     01/05/31 11:10:07

  Modified:    modules/generators mod_status.c
  Log:
  handle the SERVER_IDLE_KILL state in some of the ExtendedStatus=On
  output
  
  I don't have 100% confidence in my guess as to why some of the state labels
  are in bold and some aren't (e.g., "<b>Write</b>" vs. "Graceful".  Hopefully
  any rhyme or reason to it is maintained with my change.
  
  Revision  Changes    Path
  1.39      +6 -0      httpd-2.0/modules/generators/mod_status.c
  
  Index: mod_status.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_status.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- mod_status.c	2001/05/30 14:14:26	1.38
  +++ mod_status.c	2001/05/31 18:10:04	1.39
  @@ -591,6 +591,9 @@
   			case SERVER_GRACEFUL:
   			    ap_rputs("Graceful", r);
   			    break;
  +                        case SERVER_IDLE_KILL:
  +                            ap_rputs("Dying", r);
  +                            break;
   			default:
   			    ap_rputs("?STATE?", r);
   			    break;
  @@ -662,6 +665,9 @@
   			case SERVER_GRACEFUL:
   			    ap_rputs("<td>G", r);
   			    break;
  +                        case SERVER_IDLE_KILL:
  +                            ap_rputs("<td>I", r);
  +                            break;
   			default:
   			    ap_rputs("<td>?", r);
   			    break;
  
  
  

Mime
View raw message