Add "valkey://" and "valkeys://" protocol support

Merged
CW
1mo ago
+41-0

Valkey[1] is a Redis fork and can be talked to with all redis clients.

This patch adds support for the "valkey://" and "valkeys://" protocols and translates it to tcp+ssl just like "redis://" and "rediss://" do.

[1] https://valkey.io/

Related: https://github.com/laravel/framework/pull/61634


Without this patch, using a valkeys:// URL results in:

read error on connection to foo2342-master-1.data.eu01.onstackit.cloud:51133