]> granicus.if.org Git - apache/commitdiff
Name change: calling it mod_authn_cache could get confusing, and the
authorNick Kew <niq@apache.org>
Wed, 23 Jun 2010 00:24:59 +0000 (00:24 +0000)
committerNick Kew <niq@apache.org>
Wed, 23 Jun 2010 00:24:59 +0000 (00:24 +0000)
sourceforge module has a prior claim to the name.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957089 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authn_socache.c [moved from modules/aaa/mod_authn_cache.c with 98% similarity]

similarity index 98%
rename from modules/aaa/mod_authn_cache.c
rename to modules/aaa/mod_authn_socache.c
index 34123e1106387056b7a1d5783ab6d9b67c425d79..aedc7416e7b8ec837a598c21a89b41c07425ba6f 100644 (file)
@@ -32,7 +32,7 @@
 #include "util_mutex.h"
 #include "apr_optional.h"
 
-module AP_MODULE_DECLARE_DATA authn_cache_module;
+module AP_MODULE_DECLARE_DATA authn_socache_module;
 
 typedef struct authn_cache_dircfg {
     apr_interval_time_t timeout;
@@ -382,7 +382,7 @@ static const authn_provider authn_cache_provider =
 };
 static void register_hooks(apr_pool_t *p)
 {
-    ap_register_auth_provider(p, AUTHN_PROVIDER_GROUP, "cache",
+    ap_register_auth_provider(p, AUTHN_PROVIDER_GROUP, "socache",
                               AUTHN_PROVIDER_VERSION,
                               &authn_cache_provider, AP_AUTH_INTERNAL_PER_CONF);
     APR_REGISTER_OPTIONAL_FN(ap_authn_cache_store);
@@ -391,7 +391,7 @@ static void register_hooks(apr_pool_t *p)
     ap_hook_child_init(authn_cache_child_init, NULL, NULL, APR_HOOK_MIDDLE);
 }
 
-AP_DECLARE_MODULE(authn_cache) =
+AP_DECLARE_MODULE(authn_socache) =
 {
     STANDARD20_MODULE_STUFF,
     authn_cache_dircfg_create,