From: Yann Ylavic Date: Fri, 31 May 2024 15:18:33 +0000 (+0000) Subject: mpm_event: Don't spam with "Stopping process due to MaxConnectionsPerChild" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf40d93a9e0d6fa3401f326e4e447cafbc5b604;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 848dd0e564f..414c96ce673 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)