| 68 | } |
| 69 | |
| 70 | static int authn_cache_precfg(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptmp) |
| 71 | { |
| 72 | apr_status_t rv = ap_mutex_register(pconf, authn_cache_id, |
| 73 | NULL, APR_LOCK_DEFAULT, 0); |
| 74 | if (rv != APR_SUCCESS) { |
| 75 | ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, plog, APLOGNO(01673) |
| 76 | "failed to register %s mutex", authn_cache_id); |
| 77 | return 500; /* An HTTP status would be a misnomer! */ |
| 78 | } |
| 79 | socache_provider = ap_lookup_provider(AP_SOCACHE_PROVIDER_GROUP, |
| 80 | AP_SOCACHE_DEFAULT_PROVIDER, |
| 81 | AP_SOCACHE_PROVIDER_VERSION); |
| 82 | configured = 0; |
| 83 | return OK; |
| 84 | } |
| 85 | |
| 86 | static int authn_cache_post_config(apr_pool_t *pconf, apr_pool_t *plog, |
| 87 | apr_pool_t *ptmp, server_rec *s) |
nothing calls this directly
no test coverage detected