Add tls support for Redis
-
Can you please add schema support for connection to Redis in Cache_Redis.php file?
Just need to change line
list( $ip, $port ) = explode( ':', $server );to
list( $ip, $port ) = preg_split( '~:(?=[^:]*$)~', $server );Example server string:
tls://127.0.0.1:6379I need it to use with DigitalOcean managed Redis, it’s using TLS by default and no options to switch it off.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Add tls support for Redis’ is closed to new replies.