]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_common.c implements a handful of config directives; the
authorJeff Trawick <trawick@apache.org>
Mon, 28 Mar 2011 16:25:20 +0000 (16:25 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 28 Mar 2011 16:25:20 +0000 (16:25 +0000)
commit5e3ba7d3ee5fc110298721d4dc5f87ca09bef940
treed29983f4ddc654fdaae8b9701c3ca53611eca9a2
parent534cbfe22cd427a75c7ce61cfca776ef5f842fec
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
16 files changed:
include/mpm_common.h
server/core.c
server/mpm/event/event.c
server/mpm/event/mpm_default.h
server/mpm/mpmt_os2/mpm_default.h
server/mpm/mpmt_os2/mpmt_os2.c
server/mpm/netware/mpm_default.h
server/mpm/netware/mpm_netware.c
server/mpm/prefork/mpm_default.h
server/mpm/prefork/prefork.c
server/mpm/simple/simple_core.c
server/mpm/winnt/mpm_default.h
server/mpm/winnt/mpm_winnt.c
server/mpm/worker/mpm_default.h
server/mpm/worker/worker.c
server/mpm_common.c