diff options
author | Greg Ames <gregames@apache.org> | 2001-07-12 05:20:50 +0200 |
---|---|---|
committer | Greg Ames <gregames@apache.org> | 2001-07-12 05:20:50 +0200 |
commit | 5139e492bda2dde0256d464fef3e8662c814a5ae (patch) | |
tree | 7f0798e19d74adf6df5dbb0d7e9d5b342f6ac4ed /server/scoreboard.c | |
parent | Provide vhost and abbreviated request strings on ExtendedStatus displays. (diff) | |
download | apache2-5139e492bda2dde0256d464fef3e8662c814a5ae.tar.xz apache2-5139e492bda2dde0256d464fef3e8662c814a5ae.zip |
scratch an old itch - give lingering close its own state in the scoreboard.
clean up SERVER_ACCEPTING and SERVER_QUEUEING (never set) while I'm at it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89542 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | server/scoreboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/scoreboard.c b/server/scoreboard.c index a6237f9235..d9398a4a4f 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -279,7 +279,7 @@ int ap_update_child_status(int child_num, int thread_num, int status, request_re ps = &ap_scoreboard_image->parent[child_num]; - if ((status == SERVER_READY || status == SERVER_ACCEPTING) + if (status == SERVER_READY && old_status == SERVER_STARTING) { ws->thread_num = child_num * HARD_SERVER_LIMIT + thread_num; ps->generation = ap_my_generation; |