]> granicus.if.org Git - apache/commitdiff
Initiliase all of the first_*_limit variables to zero, so that we can actually
authorColm MacCarthaigh <colm@apache.org>
Wed, 31 Aug 2005 16:10:55 +0000 (16:10 +0000)
committerColm MacCarthaigh <colm@apache.org>
Wed, 31 Aug 2005 16:10:55 +0000 (16:10 +0000)
raise limits beyond their defaults reliably.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@265523 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/event/event.c
server/mpm/experimental/leader/leader.c
server/mpm/experimental/threadpool/threadpool.c
server/mpm/prefork/prefork.c

index 3dc48e1cf14eacdf2ac492b94ad7f7053f02849d..4ccd0caf6f7099058e1acd8348806192f25e8ca0 100644 (file)
@@ -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;
index fb21911889b38b34144bc7af5ca1863509c674ee..f9d6a2c32bfcb21568b84ca6ed8c6e2dc6bff94b 100644 (file)
@@ -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;
index 1b6031dc7e2cc4b6d04a03df91cd33d8f9e74780..7c9281bf6ef9ee2620da97b5a2fbf7bc16353011 100644 (file)
@@ -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;
index b9b4ab96ecb931fb78a01026b3a523ea3dd2230d..12e7509bb6b4247a041c6d2f2ec315ae1e32ea3d 100644 (file)
@@ -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;