Closed
Description
I need to set-up connection to the Redis service by the socket. How to set-up DSN?
By the code allows only DSN with valid url Connection.php:
if (false === $parsedUrl = parse_url($dsn)) {
throw new InvalidArgumentException(sprintf('The given Redis DSN "%s" is invalid.', $dsn));
}
So DSN like "redis:///var/run/redis/redis.sock" is invalid.
Is there any reason for that or is it an architectural flaw?
Metadata
Metadata
Assignees
Labels
Ideal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)Issues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.