]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mpm_event: add clarifying comment
authorStefan Fritsch <sf@apache.org>
Mon, 21 Nov 2016 21:41:23 +0000 (21:41 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 21 Nov 2016 21:41:23 +0000 (21:41 +0000)
from jim

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

server/mpm/event/event.c

index 22ff6148bcf65be5c2a74090e294e5711722ef70..01dc6c5eb726a92ab56124fc25f88e1367321f9b 100644 (file)
@@ -3159,6 +3159,7 @@ static void server_main_loop(int remaining_children_to_start, int num_buckets)
                 if (!ps->quiescing)
                     active_daemons--;
                 ps->quiescing = 0;
+                /* NOTE: We don't dec in the (child_slot < 0) case! */
                 retained->total_daemons--;
                 if (processed_status == APEXIT_CHILDSICK) {
                     /* resource shortage, minimize the fork rate */