]> granicus.if.org Git - apache/commitdiff
event: update worker score keepalive status.
authorYann Ylavic <ylavic@apache.org>
Mon, 25 Apr 2016 21:50:40 +0000 (21:50 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 25 Apr 2016 21:50:40 +0000 (21:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740910 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c

index 76f346765037c0ee5245d8a042bbe8f4a518fcbb..885ea5a05e61a61a492bfc293d230a02bd9cbccb 100644 (file)
@@ -1199,6 +1199,8 @@ read_request:
         start_lingering_close_blocking(cs);
     }
     else if (cs->pub.state == CONN_STATE_CHECK_REQUEST_LINE_READABLE) {
+        ap_update_child_status_from_conn(sbh, SERVER_BUSY_KEEPALIVE, c);
+
         /* It greatly simplifies the logic to use a single timeout value per q
          * because the new element can just be added to the end of the list and
          * it will stay sorted in expiration time sequence.  If brand new