MCPcopy Create free account
hub / github.com/apache/httpd / mpm_common_pre_config

Function mpm_common_pre_config

server/mpm_common.c:164–173  ·  view source on GitHub ↗

Set defaults for config directives implemented here. This is * called from core's pre-config hook, so MPMs which need to override * one of these should run their pre-config hook after that of core. */

Source from the content-addressed store, hash-verified

162 * one of these should run their pre-config hook after that of core.
163 */
164void mpm_common_pre_config(apr_pool_t *pconf)
165{
166 ap_pid_fname = DEFAULT_PIDLOG;
167 ap_max_requests_per_child = 0; /* unlimited */
168 apr_cpystrn(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir));
169 ap_coredumpdir_configured = 0;
170 ap_graceful_shutdown_timeout = 0; /* unlimited */
171 ap_max_mem_free = ALLOCATOR_MAX_FREE_DEFAULT;
172 ap_thread_stacksize = 0; /* use system default */
173}
174
175/* number of calls to wait_or_timeout between writable probes */
176#ifndef INTERVAL_OF_WRITABLE_PROBES

Callers 1

core_pre_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected