]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
handle the SERVER_IDLE_KILL state in some of the ExtendedStatus=On
authorJeff Trawick <trawick@apache.org>
Thu, 31 May 2001 18:10:04 +0000 (18:10 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 31 May 2001 18:10:04 +0000 (18:10 +0000)
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89249 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_status.c

index f1a689a3f0da442455ef219c30ff60445a542df5..e00cffc41e77d171bc53e7de35c85b7a617bef45 100644 (file)
@@ -591,6 +591,9 @@ static int status_handler(request_rec *r)
                        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 @@ static int status_handler(request_rec *r)
                        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;