Discussion:
svn commit: r1629916 - /httpd/httpd/trunk/server/mpm/prefork/prefork.c
y***@apache.org
2014-10-07 15:35:56 UTC
Permalink
Author: ylavic
Date: Tue Oct 7 15:35:56 2014
New Revision: 1629916

URL: http://svn.apache.org/r1629916
Log:
core: follow up to r1629909: ap_daemons_to_start can't be lower than 1 (not 0) for prefork either.

Modified:
httpd/httpd/trunk/server/mpm/prefork/prefork.c

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=1629916&r1=1629915&r2=1629916&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Tue Oct 7 15:35:56 2014
@@ -1486,7 +1486,7 @@ static int prefork_check_config(apr_pool
}

/* 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, "

Loading...