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. */
| 162 | * one of these should run their pre-config hook after that of core. |
| 163 | */ |
| 164 | void 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 |