mod_http_cache: use case-insensitive domain to profile hash

This commit is contained in:
Chris Rienzo 2013-09-03 10:05:13 -04:00
parent cc069d7307
commit 01ad34b58a
1 changed files with 1 additions and 1 deletions

View File

@ -1633,7 +1633,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_http_cache_load)
gcache.pool = pool; gcache.pool = pool;
switch_core_hash_init(&gcache.map, gcache.pool); switch_core_hash_init(&gcache.map, gcache.pool);
switch_core_hash_init(&gcache.profiles, 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_mutex_init(&gcache.mutex, SWITCH_MUTEX_UNNESTED, gcache.pool);
switch_thread_rwlock_create(&gcache.shutdown_lock, gcache.pool); switch_thread_rwlock_create(&gcache.shutdown_lock, gcache.pool);