diff options
Diffstat (limited to 'server/mpm')
-rw-r--r-- | server/mpm/experimental/perchild/perchild.c | 4 | ||||
-rw-r--r-- | server/mpm/mpmt_os2/mpmt_os2.c | 5 | ||||
-rw-r--r-- | server/mpm/netware/mpm_netware.c | 5 | ||||
-rw-r--r-- | server/mpm/perchild/perchild.c | 4 | ||||
-rw-r--r-- | server/mpm/prefork/prefork.c | 4 | ||||
-rw-r--r-- | server/mpm/worker/worker.c | 4 |
6 files changed, 24 insertions, 2 deletions
diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index 2216b914c7..7e031c4a43 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -1341,6 +1341,10 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) ap_get_server_version()); ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); +#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf, + "AcceptMutex: %s", ap_mpm_show_accept_lock_mech()); +#endif restart_pending = shutdown_pending = 0; server_main_loop(remaining_children_to_start); diff --git a/server/mpm/mpmt_os2/mpmt_os2.c b/server/mpm/mpmt_os2/mpmt_os2.c index 424d36066a..c1204b65a3 100644 --- a/server/mpm/mpmt_os2/mpmt_os2.c +++ b/server/mpm/mpmt_os2/mpmt_os2.c @@ -313,7 +313,10 @@ static char master_main() ap_get_server_version()); ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); - +#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf, + "AcceptMutex: %s", ap_mpm_show_accept_lock_mech()); +#endif if (one_process) { ap_scoreboard_image->parent[0].pid = getpid(); ap_mpm_child_main(pconf); diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index 84211461d3..952880b5dc 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -917,7 +917,10 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) ap_get_server_version()); ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); - +#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf, + "AcceptMutex: %s", ap_mpm_show_accept_lock_mech()); +#endif show_server_data(); while (!restart_pending && !shutdown_pending) { diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index 2216b914c7..7e031c4a43 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -1341,6 +1341,10 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) ap_get_server_version()); ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); +#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf, + "AcceptMutex: %s", ap_mpm_show_accept_lock_mech()); +#endif restart_pending = shutdown_pending = 0; server_main_loop(remaining_children_to_start); diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 8a3f23c9a2..3dc6008124 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1026,6 +1026,10 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) ap_get_server_version()); ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); +#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf, + "AcceptMutex: %s", ap_mpm_show_accept_lock_mech()); +#endif restart_pending = shutdown_pending = 0; while (!restart_pending && !shutdown_pending) { diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index e5a0f15936..f6594e5056 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -1550,6 +1550,10 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) ap_get_server_version()); ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); +#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf, + "AcceptMutex: %s", ap_mpm_show_accept_lock_mech()); +#endif restart_pending = shutdown_pending = 0; server_main_loop(remaining_children_to_start); |