]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_http_cache: use case-insensitive domain to profile hash
authorChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 3 Sep 2013 14:05:13 +0000 (10:05 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 3 Sep 2013 14:05:13 +0000 (10:05 -0400)
src/mod/applications/mod_http_cache/mod_http_cache.c

index f82ed24beb7ed0d3079025e3228d52ae46603f13..24ea2aa76cadcd0528dc9a5e427b0874ca8c7a5c 100644 (file)
@@ -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);