From: Jeff Trawick Date: Sat, 21 Nov 2009 17:18:39 +0000 (+0000) Subject: remove dead code related to the accept mutex X-Git-Tag: 2.3.4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01026cbc46f5d14bb146df9ed87e813955dab609;p=thirdparty%2Fapache%2Fhttpd.git remove dead code related to the accept mutex git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882943 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/mpm_default.h b/server/mpm/event/mpm_default.h index c26ee714bf9..74ccd7a2cae 100644 --- a/server/mpm/event/mpm_default.h +++ b/server/mpm/event/mpm_default.h @@ -51,11 +51,6 @@ #define DEFAULT_THREADS_PER_CHILD 25 #endif -/* File used for accept locking, when we use a file */ -#ifndef DEFAULT_LOCKFILE -#define DEFAULT_LOCKFILE DEFAULT_REL_RUNTIMEDIR "/accept.lock" -#endif - /* Where the main/parent process's pid is logged */ #ifndef DEFAULT_PIDLOG #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid" diff --git a/server/mpm/mpmt_os2/mpmt_os2.c b/server/mpm/mpmt_os2/mpmt_os2.c index 1b410e721d5..4d8f22e4915 100644 --- a/server/mpm/mpmt_os2/mpmt_os2.c +++ b/server/mpm/mpmt_os2/mpmt_os2.c @@ -272,12 +272,6 @@ static char master_main() ap_get_server_description()); ap_log_error(APLOG_MARK, 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_DEBUG, 0, ap_server_conf, - "AcceptMutex: %s (default: %s)", - apr_proc_mutex_name(accept_mutex), - apr_proc_mutex_defname()); -#endif if (one_process) { ap_scoreboard_image->parent[0].pid = getpid(); ap_mpm_child_main(pconf); diff --git a/server/mpm/netware/mpm_default.h b/server/mpm/netware/mpm_default.h index 96c5aa0914f..80c97e08ada 100644 --- a/server/mpm/netware/mpm_default.h +++ b/server/mpm/netware/mpm_default.h @@ -86,12 +86,6 @@ #define DEFAULT_REL_RUNTIMEDIR "logs" #endif -/* File used for accept locking, when we use a file */ -/*#ifndef DEFAULT_LOCKFILE - #define DEFAULT_LOCKFILE DEFAULT_REL_RUNTIMEDIR "/accept.lock" - #endif -*/ - /* Where the main/parent process's pid is logged */ /*#ifndef DEFAULT_PIDLOG #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid" diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index 4f70d51ef4c..329e7bac744 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -922,12 +922,6 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) ap_get_server_description()); ap_log_error(APLOG_MARK, 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_DEBUG, 0, ap_server_conf, - "AcceptMutex: %s (default: %s)", - apr_proc_mutex_name(accept_mutex), - apr_proc_mutex_defname()); -#endif show_server_data(); mpm_state = AP_MPMQ_RUNNING; diff --git a/server/mpm/simple/mpm_default.h b/server/mpm/simple/mpm_default.h index c26ee714bf9..74ccd7a2cae 100644 --- a/server/mpm/simple/mpm_default.h +++ b/server/mpm/simple/mpm_default.h @@ -51,11 +51,6 @@ #define DEFAULT_THREADS_PER_CHILD 25 #endif -/* File used for accept locking, when we use a file */ -#ifndef DEFAULT_LOCKFILE -#define DEFAULT_LOCKFILE DEFAULT_REL_RUNTIMEDIR "/accept.lock" -#endif - /* Where the main/parent process's pid is logged */ #ifndef DEFAULT_PIDLOG #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid"