We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/symfony/symfony/blob/3.3/src/Symfony/Component/Cache/Traits/RedisTrait.php
line 123
$params['scheme'] = isset($params['host']) ? 'tcp' : 'unix';
line 93
$params += array( 'host' => isset($params['host']) ? $params['host'] : $params['path'],
so $params['host'] is never empty => scheme is always tcp even if path is unix socket, which leads to exception in Predis Client.
The text was updated successfully, but these errors were encountered:
@kopeckyales would you like to submit a PR to fix this? I guess the bug also exists in 3.2 where it should be fixed?
Sorry, something went wrong.
bug #23045 [Cache] fix Redis scheme detection (xabbuh)
7078cdf
This PR was merged into the 3.2 branch. Discussion ---------- [Cache] fix Redis scheme detection | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22974 | License | MIT | Doc PR | Commits ------- 61685c7 [Cache] fix Redis scheme detection
No branches or pull requests
https://github.com/symfony/symfony/blob/3.3/src/Symfony/Component/Cache/Traits/RedisTrait.php
line 123
line 93
so $params['host'] is never empty => scheme is always tcp even if path is unix socket, which leads to exception in Predis Client.
The text was updated successfully, but these errors were encountered: