Use the actual redis connection string to connect, not the sanitized one (#1141)
fixes #1140
This commit is contained in:
parent
43b430a715
commit
8f8038a7fb
@ -171,7 +171,7 @@ redis_context_handle get_redis_async_connection(struct event_base *base, redis_s
|
||||
|
||||
char *errmsg = NULL;
|
||||
if (base && redis_stats_db->connection_string[0]) {
|
||||
Ryconninfo *co = RyconninfoParse(redis_stats_db->connection_string_sanitized, &errmsg);
|
||||
Ryconninfo *co = RyconninfoParse(redis_stats_db->connection_string, &errmsg);
|
||||
if (!co) {
|
||||
if (errmsg) {
|
||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user