summaryrefslogtreecommitdiffstats
path: root/server/mpm/netware
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2003-08-28 00:33:12 +0200
committerBradley Nicholes <bnicholes@apache.org>2003-08-28 00:33:12 +0200
commitdc4cfa16400b1c1b5152306d09130eff3fafddbe (patch)
tree06c08369e3d0c5725259e1542f4c6ca2f8808c06 /server/mpm/netware
parentsimplifications. Don't repeat the same code again and again. (diff)
downloadapache2-dc4cfa16400b1c1b5152306d09130eff3fafddbe.tar.xz
apache2-dc4cfa16400b1c1b5152306d09130eff3fafddbe.zip
Make sure that the global ap_max_mem_free is initialized along with the
other MPM globals whenever HTTPD is started or restarted. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101117 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/netware')
-rw-r--r--server/mpm/netware/mpm_netware.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c
index 544f2d83ac..b252cf4b71 100644
--- a/server/mpm/netware/mpm_netware.c
+++ b/server/mpm/netware/mpm_netware.c
@@ -1015,6 +1015,9 @@ static int netware_pre_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp
ap_threads_limit = HARD_THREAD_LIMIT;
ap_max_requests_per_child = DEFAULT_MAX_REQUESTS_PER_CHILD;
ap_extended_status = 0;
+#ifdef AP_MPM_WANT_SET_MAX_MEM_FREE
+ ap_max_mem_free = APR_ALLOCATOR_MAX_FREE_UNLIMITED;
+#endif
return OK;
}