From: Chris Rienzo Date: Tue, 3 Sep 2013 14:05:13 +0000 (-0400) Subject: mod_http_cache: use case-insensitive domain to profile hash X-Git-Tag: v1.5.6~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4e96724823a11b491b89a8d8976a704a6ffab8;p=thirdparty%2Ffreeswitch.git mod_http_cache: use case-insensitive domain to profile hash --- 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);