From eda6e3d23ce49fe3c33fe8f0299939722b901868 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Mon, 5 Jun 2000 19:44:02 +0000 Subject: Add server tokens back to 2.0. Also bring forward the change to allow the PRODUCT_ONLY value for ServerTokens. This is relatively clean, all of the code lives in http_core, and when a module wants to add a token, they just call ap_add_version_component from the post_config hook. Actually ap_add_version_component can be done anytime after the config has been parsed, it just makes the most sense to do it in post_config IMHO. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85426 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/mpmt_pthread/mpmt_pthread.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'server/mpm/mpmt_pthread/mpmt_pthread.c') diff --git a/server/mpm/mpmt_pthread/mpmt_pthread.c b/server/mpm/mpmt_pthread/mpmt_pthread.c index cb1278e990..94bbed9c2c 100644 --- a/server/mpm/mpmt_pthread/mpmt_pthread.c +++ b/server/mpm/mpmt_pthread/mpmt_pthread.c @@ -161,10 +161,6 @@ static char *lock_fname; #define SAFE_ACCEPT(stmt) (stmt) #endif - -/* Global, alas, so http_core can talk to us */ -enum server_token_type ap_server_tokens = SrvTk_FULL; - API_EXPORT(const server_rec *) ap_get_server_conf(void) { return (ap_server_conf); -- cgit v1.2.3