From: Colm MacCarthaigh Date: Wed, 31 Aug 2005 16:10:55 +0000 (+0000) Subject: Initiliase all of the first_*_limit variables to zero, so that we can actually X-Git-Tag: 2.3.0~3028 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc841a28e54fcfb4f14ef7e808f799af70fc1e76;p=apache Initiliase all of the first_*_limit variables to zero, so that we can actually raise limits beyond their defaults reliably. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@265523 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/experimental/event/event.c b/server/mpm/experimental/event/event.c index 3dc48e1cf1..4ccd0caf6f 100644 --- a/server/mpm/experimental/event/event.c +++ b/server/mpm/experimental/event/event.c @@ -146,9 +146,9 @@ static int min_spare_threads = 0; static int max_spare_threads = 0; static int ap_daemons_limit = 0; static int server_limit = DEFAULT_SERVER_LIMIT; -static int first_server_limit; +static int first_server_limit = 0; static int thread_limit = DEFAULT_THREAD_LIMIT; -static int first_thread_limit; +static int first_thread_limit = 0; static int changed_limit_at_restart; static int dying = 0; static int workers_may_exit = 0; diff --git a/server/mpm/experimental/leader/leader.c b/server/mpm/experimental/leader/leader.c index fb21911889..f9d6a2c32b 100644 --- a/server/mpm/experimental/leader/leader.c +++ b/server/mpm/experimental/leader/leader.c @@ -114,9 +114,9 @@ static int min_spare_threads = 0; static int max_spare_threads = 0; static int ap_daemons_limit = 0; static int server_limit = DEFAULT_SERVER_LIMIT; -static int first_server_limit; +static int first_server_limit = 0; static int thread_limit = DEFAULT_THREAD_LIMIT; -static int first_thread_limit; +static int first_thread_limit = 0; static int changed_limit_at_restart; static int dying = 0; static int workers_may_exit = 0; diff --git a/server/mpm/experimental/threadpool/threadpool.c b/server/mpm/experimental/threadpool/threadpool.c index 1b6031dc7e..7c9281bf6e 100644 --- a/server/mpm/experimental/threadpool/threadpool.c +++ b/server/mpm/experimental/threadpool/threadpool.c @@ -120,9 +120,9 @@ static int min_spare_threads = 0; static int max_spare_threads = 0; static int ap_daemons_limit = 0; static int server_limit = DEFAULT_SERVER_LIMIT; -static int first_server_limit; +static int first_server_limit = 0; static int thread_limit = DEFAULT_THREAD_LIMIT; -static int first_thread_limit; +static int first_thread_limit = 0; static int changed_limit_at_restart; static int dying = 0; static int workers_may_exit = 0; diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index b9b4ab96ec..12e7509bb6 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -97,7 +97,7 @@ static int ap_daemons_min_free=0; static int ap_daemons_max_free=0; static int ap_daemons_limit=0; /* MaxClients */ static int server_limit = DEFAULT_SERVER_LIMIT; -static int first_server_limit; +static int first_server_limit = 0; static int changed_limit_at_restart; static int mpm_state = AP_MPMQ_STARTING; static ap_pod_t *pod;