[OpenSIPS-Devel] [OpenSIPS/opensips] 353274: cachedb_redis: Fix a bug with parsing custom ports
Liviu Chircu
noreply at github.com
Wed Oct 11 11:08:55 UTC 2023
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 3532746c1f830540a61b04863df2236c1a85978c
https://github.com/OpenSIPS/opensips/commit/3532746c1f830540a61b04863df2236c1a85978c
Author: Liviu Chircu <liviu at opensips.org>
Date: 2023-10-11 (Wed, 11 Oct 2023)
Changed paths:
M cachedb/test/test_cachedb.c
M modules/cachedb_redis/cachedb_redis_dbase.c
Log Message:
-----------
cachedb_redis: Fix a bug with parsing custom ports
This patch fixes an issue where custom Redis ports (i.e. not
6379) in simple URLs with just 1 host were always being parsed as 6379.
Most likely, the issue dates back to the "circular failover hosts"
feature (69179289).
Many thanks to Artiom Druz (@Shkiperion) for a full report + PR attempt!
Fixes #3168
Closes #3169
More information about the Devel
mailing list