From: Jim Jagielski Date: Tue, 6 Oct 2015 12:35:50 +0000 (+0000) Subject: Merge r1629916 from trunk: X-Git-Tag: 2.4.17~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3745624259ad3b7663d3ae63780745dabc7cd88d;p=thirdparty%2Fapache%2Fhttpd.git Merge r1629916 from trunk: core: follow up to r1629909: ap_daemons_to_start can't be lower than 1 (not 0) for prefork either. Submitted by: ylavic Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707035 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/STATUS b/STATUS index 83333fa6bbc..6d482cece60 100644 --- a/STATUS +++ b/STATUS @@ -110,12 +110,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - * MPMs: Follow up to r1705492 (SO_REUSEPORT). Add missing (and harmless) - backport hunk (for consistency with trunk and 2.4.x's worker/event). - trunk patch: http://svn.apache.org/r1629916 - 2.4.x patch: trunk works - +1: ylavic, jim, rjung - * mod_proxy_balancer: Silence warnings, and fix logic, in XML balancer status output. trunk patch: http://svn.apache.org/r1705776 diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 45d88e46e8e..9d424c545a1 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1484,7 +1484,7 @@ static int prefork_check_config(apr_pool_t *p, apr_pool_t *plog, } /* ap_daemons_to_start > ap_daemons_limit checked in prefork_run() */ - if (ap_daemons_to_start < 0) { + if (ap_daemons_to_start < 1) { if (startup) { ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP, 0, NULL, APLOGNO(00184) "WARNING: StartServers of %d not allowed, "