diff options
author | Jeff Trawick <trawick@apache.org> | 2011-03-28 18:25:20 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2011-03-28 18:25:20 +0200 |
commit | 5e3ba7d3ee5fc110298721d4dc5f87ca09bef940 (patch) | |
tree | d29983f4ddc654fdaae8b9701c3ca53611eca9a2 /include/mpm_common.h | |
parent | Resolve disagreement with its prototype (diff) | |
download | apache2-5e3ba7d3ee5fc110298721d4dc5f87ca09bef940.tar.xz apache2-5e3ba7d3ee5fc110298721d4dc5f87ca09bef940.zip |
mpm_common.c implements a handful of config directives; the
related state has to be re-initialized to the default values
at pre-config time, but that was handled inconsistently by
the MPMs, resulting in unexpected behavior when some of the
directives were removed across restart
move that necessary initialization from the MPMs to common
code run from core's pre-config; MPMs that need to override
defaults can do so by running after core's pre-config (the
NetWare MPM now does that)
the DEFAULT_MAX_REQUESTS_PER_CHILD compile setting wasn't useful
enough to keep
the simple MPM wasn't consistent in which of these directives
were respected and which weren't, and that hasn't changed
(see procmgr.max_requests_per_child vs. ap_max_requests_per_child)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086293 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/mpm_common.h')
-rw-r--r-- | include/mpm_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mpm_common.h b/include/mpm_common.h index bb512836c7..f08510aa46 100644 --- a/include/mpm_common.h +++ b/include/mpm_common.h @@ -350,6 +350,11 @@ AP_DECLARE_HOOK(const char *,mpm_get_name,(void)) */ #define AP_ACCEPT_MUTEX_TYPE "mpm-accept" +/* internal pre-config logic for MPM-related settings, callable only from + * core's pre-config hook + */ +void mpm_common_pre_config(apr_pool_t *pconf); + #ifdef __cplusplus } #endif |