summaryrefslogtreecommitdiffstats
path: root/server/mpm_common.c
diff options
context:
space:
mode:
authorSander Striker <striker@apache.org>2002-07-04 17:24:01 +0200
committerSander Striker <striker@apache.org>2002-07-04 17:24:01 +0200
commit3b5826f7e9b8f4ec208bf1574e67f236e6f1de52 (patch)
tree9a193e010e8b9bc9b248269f8c58fe17854c9aee /server/mpm_common.c
parentAdd a new directive: MaxMemFree. MaxMemFree makes it possible (diff)
downloadapache2-3b5826f7e9b8f4ec208bf1574e67f236e6f1de52.tar.xz
apache2-3b5826f7e9b8f4ec208bf1574e67f236e6f1de52.zip
Now why did I commit that symbolic constant in APR again? Exactly...
to use it here. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95955 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_common.c')
-rw-r--r--server/mpm_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/mpm_common.c b/server/mpm_common.c
index ec6485da64..2cd2c8e020 100644
--- a/server/mpm_common.c
+++ b/server/mpm_common.c
@@ -75,6 +75,7 @@
#include "apr_want.h"
#include "apr_getopt.h"
#include "apr_optional.h"
+#include "apr_allocator.h"
#include "httpd.h"
#include "http_config.h"
@@ -881,7 +882,7 @@ void ap_mpm_rewrite_args(process_rec *process)
#endif /* AP_MPM_WANT_SIGNAL_SERVER */
#ifdef AP_MPM_WANT_SET_MAX_MEM_FREE
-apr_uint32_t ap_max_mem_free = 0;
+apr_uint32_t ap_max_mem_free = APR_ALLOCATOR_MAX_FREE_UNLIMITED;
const char *ap_mpm_set_max_mem_free(cmd_parms *cmd, void *dummy,
const char *arg)