8000 [Messenger] Allow password in redis dsn when using sockets by PhilETaylor · Pull Request #48959 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Messenger] Allow password in redis dsn when using sockets #48959

New issue

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

Merged

Conversation

PhilETaylor
Copy link
Contributor
@PhilETaylor PhilETaylor commented Jan 12, 2023
Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #47393 @Arakmar
License MIT
Doc PR

When a messenger async transport is configured with Redis (unix socket with a password), it gives DSN parsing errors.

Using a Bunch of copy and pasted code blocks from the Redis cache adapter, this PR fixes the bug that doesn't parse a DSN such as

redis://password@/var/run/redis.sock

Replaces bad rebased #47475

@nicolas-grekas nicolas-grekas force-pushed the unixsocketpasswordmessengerredis2 branch from d2dccca to 9af8ccf Compare January 13, 2023 08:51
@nicolas-grekas
Copy link
Member
nicolas-grekas 9C4A commented Jan 13, 2023

Thank you @PhilETaylor.

@nicolas-grekas nicolas-grekas merged commit b50442c into symfony:6.3 Jan 13, 2023
@fabpot fabpot mentioned this pull request May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Password not working with an unix socket for Messenger redis transport
4 participants
0