wp-redis-predis-client icon indicating copy to clipboard operation
wp-redis-predis-client copied to clipboard

Support tls:// Scheme Detection in Host Argument

Open timnolte opened this issue 4 years ago • 1 comments

For interoperability with PhpRedis, and to provide a way to turn on TLS using global constants, it would be helpful to support detecting if tls:// has been supplied in the host argument and set the scheme to tls:// instead of 'tcp:// in this cases.

https://github.com/humanmade/wp-redis-predis-client/blob/9ef28392ab0a7767f348d5736b5493c1380220dd/functions.php#L54

timnolte avatar Aug 04 '21 15:08 timnolte

I've opened up a corresponding issue for WP Redis as well(https://github.com/pantheon-systems/wp-redis/issues/322),

timnolte avatar Aug 04 '21 15:08 timnolte