summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-01-13 15:31:05 +0000
committerYann Ylavic <ylavic@apache.org>2018-01-13 15:31:05 +0000
commit0514fb4a44a892ae0f4899eeadd709e287a8fc37 (patch)
treeab8667e89f104248af7854baa2e876bab75c52c7 /server
parent24f2c9ef937ac007feaf5891b8c9fffe26643286 (diff)
downloadhttpd-0514fb4a44a892ae0f4899eeadd709e287a8fc37.tar.gz
Merge r1740910, r1741277, r1820809 from trunk:
event: update worker score keepalive status. Correct regressions introduced in r1137358 and r1740910. The conn_rec context may be passed only when setting up the initial connection, otherwise the request info is trashed. Follow up to r1740910: CHANGES entry. Submitted by: ylavic, wrowe, ylavic Reviewed by: ylavic, icing, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1821068 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/mpm/event/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c
index 54c9256074..d456456a2a 100644
--- a/server/mpm/event/event.c
+++ b/server/mpm/event/event.c
@@ -1126,6 +1126,8 @@ read_request:
start_lingering_close_blocking(cs);
}
else if (cs->pub.state == CONN_STATE_CHECK_REQUEST_LINE_READABLE) {
+ ap_update_child_status(sbh, SERVER_BUSY_KEEPALIVE, NULL);
+
/* 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