summaryrefslogtreecommitdiffstats
path: root/server/mpm
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-05-31 17:18:33 +0200
committerYann Ylavic <ylavic@apache.org>2024-05-31 17:18:33 +0200
commit3cf40d93a9e0d6fa3401f326e4e447cafbc5b604 (patch)
tree6a08ae81d7ea3b486fbbe440346e112ab6563e84 /server/mpm
parentCI: For LDAP tests, switch to using OpenLDAP slapd running on (diff)
downloadapache2-3cf40d93a9e0d6fa3401f326e4e447cafbc5b604.tar.xz
apache2-3cf40d93a9e0d6fa3401f326e4e447cafbc5b604.zip
mpm_event: Don't spam with "Stopping process due to MaxConnectionsPerChild"
When MaxConnectionsPerChild is reached there may be some connections to process still and the listener should stop writing this at every loop. Logging once is enough. * server/mpm/event/event.c(check_infinite_requests): Raise conns_this_child unconditionally. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm')
-rw-r--r--server/mpm/event/event.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c
index 848dd0e564..414c96ce67 100644
--- a/server/mpm/event/event.c
+++ b/server/mpm/event/event.c
@@ -1358,10 +1358,8 @@ static void check_infinite_requests(void)
"Stopping process due to MaxConnectionsPerChild");
signal_threads(ST_GRACEFUL);
}
- else {
- /* keep going */
- conns_this_child = APR_INT32_MAX;
- }
+ /* keep going */
+ conns_this_child = APR_INT32_MAX;
}
static int close_listeners(int *closed)