Checkout Tools
  • last updated 1 hour ago
Constraints: committers
Constraints: files
Constraints: dates
axe BeOS MPM

  1. … 17 more files in changeset.
axe the unnecessary AP_MPM_HARD_LIMITS_FILE

  1. … 2 more files in changeset.
Remove all references to CORE_PRIVATE.

  1. … 67 more files in changeset.
Remove ap_graceful_stop_signalled from all MPMs.

  1. … 8 more files in changeset.
Revert r547987 ("svn merge -c -547987 .")

  1. … 17 more files in changeset.
PID table impl: parent process keeps a local table store of

Apache child process PIDs and uses that to check validity

of what's in the scoreboard.

  1. … 17 more files in changeset.
Create pmain pool and run modules' child_init hooks when entering

ap_mpm_run(), then destroy pmain when exiting ap_mpm_run().

The expected call to ap_run_child_init() appears to have been removed

in r89640. However, that call should presumably still be made once per

process, as in other single-process MPMs like the netware MPM.

  1. … 1 more file in changeset.
Replace ap_get_server_version with ap_get_server_banner() and


High-level summary:

The full server version information is now included in the error log at

startup as well as server status reports, irrespective of the setting

of the ServerTokens directive.

Third-party modules must now use ap_get_server_banner() or

ap_get_server_description() in place of ap_get_server_version().

  1. … 27 more files in changeset.
Introduce a check_config phase between pre_config and open_logs,

to allow modules to review interdependent configuration directive

values and adjust them while messages can still be logged to the


The open_logs phase is already used somewhat for this purpose by

certain MPMs (winnt, prefork, worker, and event) but only by forcing

their functions ahead of the core ap_open_logs() function, and

since this phase runs after the ap_signal_server function during startup,

it can not be used to generate messages on the console when restarting.

Add the check_config phase to mod_info and mod_example.

Handle relevant MPM directives during this phase and format messages

for both the console and the error log, as appropriate. Bounds and sanity

checks on the values of the MPM directives are handled in sequence in

this phase instead of in the various directive handling functions, since

those functions (e.g., set_max_clients()) may not be called at all if their

directives do not appear in the configuration files, and even if they

are called, there is no guarantee that this will occur in any particular


Remove from the worker and event MPMs the code in the pre_config phase

that alters the configuration node tree by re-ordering ThreadsPerChild

ahead of MaxClients. This code is effective but insufficient; for

example, if ServerLimit follows MaxClients, the test against server_limit

in set_max_clients() is invalid. (In practice, this only results in

incorrect or absent warnings on the console, because server_limit is

set to its configured value when the main loop re-runs the configuration


Prevent ap_threads_per_child from exceeding thread_limit in the

winnt, worker, and event MPMs. This situation could occur if

ThreadsPerChild was not specified in the configuration files and

ThreadLimit was set to a value smaller than DEFAULT_THREADS_PER_CHILD,

because set_threads_per_child() would never be called and therefore

its bounds check against thread_limit would not be performed.

Remove from the winnt, prefork, worker, and event MPMs the

changed_limit_at_restart flag. Set the first_server_limit and

first_thread_limit values during the first execution of the check_config

function, and use them to detect changes to ServerLimit and ThreadLimit

across restarts and issue appropriately formatted warnings. Remove the

comments about the error log being a "bit bucket"; this was true when

the code was originally committed in r92530 but that was due to a bug

fixed in r92769.

Be consistent about setting all MPM configuration directive values in the

pre_config phase.

Rephrase and reformat the console and log file messages relating to

MPM configuration directives to be consistent across all MPMs. Use

briefer messages when logging to the error log than to the console.

Update miscellaneous stale comments and messages (e.g., reference to

daemons_min_free in worker and event MPMs, "prefork open_logs" in

winnt MPM, and StartServers in netware MPM).

The winnt, netware, beos, and mpmt_os2 MPMs should be tested by developers

with access to those platforms, especially the winnt MPM, which has

unique logic with respect to distinguishing between parent and child

processes during the configuration phases.

Update the English documentation for the worker MPM's ThreadsPerChild

directive, which no longer needs to precede other MPM directives in the

configuration files if it has a non-default value. The German (.de) and

Japanese (.ja) translations should be updated by developers fluent in

those languages.

  1. … 13 more files in changeset.
update license header text
  1. … 313 more files in changeset.
Update the copyright year in all .c, .h and .xml files

  1. … 494 more files in changeset.
No functional change: remove "internal" tab spacing/formatting.

  1. … 32 more files in changeset.
No functional change: more indenting/formatting changes due to


  1. … 7 more files in changeset.
No functional Change: Removing trailing whitespace. This also

means that "blank" lines consisting of just spaces or

tabs are now really blank lines

  1. … 180 more files in changeset.
No functional change: simple detabbing of indented code.

  1. … 72 more files in changeset.
Doxygen fixup / cleanup

submited by: Neale Ranns neale

reviewed by: Ian Holsman

  1. … 103 more files in changeset.
Update copyright year to 2005 and standardize on current copyright owner line.

  1. … 519 more files in changeset.
general property cleanup

  1. … 707 more files in changeset.
Remove the .cvsignore files.

  1. … 54 more files in changeset.
Remove some more uneeded code.

Fix setting of per-thread request limit

Actually restart threads following a restart signal

Try to keep the mpm_state a little more accurately.

Better handling of ONE_PROCESS.

Fix restarts and shutdowns so we no longer segfault.

Revise the beos mpm into the new world order that is heralded by

APR 1.0 :)

Simplification and more comments.

fix name of The Apache Software Foundation

  1. … 171 more files in changeset.
apply Apache License, Version 2.0

  1. … 259 more files in changeset.
update license to 2004.

  1. … 278 more files in changeset.
remove calls to the apr_proc_other_child_read function that no longer exists

  1. … 4 more files in changeset.
switch to APR 1.0 API (which is still in flux)

because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,

2.1-dev won't build with apr and apr-util's 0.9 branch anymore

  1. … 42 more files in changeset.
Updated the various MPM's to use the new bucket_alloc_create_ex API

when necessary. Which is to say that it's necessary in all cases except

for prefork, where the change to apr-util to have it use the allocator

from the pool passed in is already sufficient.

Reviewed by: Jean-Jacques Clar, Sander Striker, Brad Nicholes

  1. … 6 more files in changeset.
Make sure that the global ap_max_mem_free is initialized along with the

other MPM globals whenever HTTPD is started or restarted.

  1. … 8 more files in changeset.
finished that boring job:

update license to 2003.

Happy New Year! ;-))

  1. … 268 more files in changeset.