From 01ad34b58a0c386543e450e266cee81c5fa14827 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Tue, 3 Sep 2013 10:05:13 -0400 Subject: [PATCH] mod_http_cache: use case-insensitive domain to profile hash --- src/mod/applications/mod_http_cache/mod_http_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_http_cache/mod_http_cache.c b/src/mod/applications/mod_http_cache/mod_http_cache.c index f82ed24beb..24ea2aa76c 100644 --- a/src/mod/applications/mod_http_cache/mod_http_cache.c +++ b/src/mod/applications/mod_http_cache/mod_http_cache.c @@ -1633,7 +1633,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_http_cache_load) gcache.pool = pool; switch_core_hash_init(&gcache.map, gcache.pool); switch_core_hash_init(&gcache.profiles, gcache.pool); - switch_core_hash_init(&gcache.fqdn_profiles, gcache.pool); + switch_core_hash_init_nocase(&gcache.fqdn_profiles, gcache.pool); switch_mutex_init(&gcache.mutex, SWITCH_MUTEX_UNNESTED, gcache.pool); switch_thread_rwlock_create(&gcache.shutdown_lock, gcache.pool);