Skip to content
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

Wrong return value after disconnect while using AUTH #82

Open
shooshx opened this issue Aug 31, 2021 · 0 comments
Open

Wrong return value after disconnect while using AUTH #82

shooshx opened this issue Aug 31, 2021 · 0 comments

Comments

@shooshx
Copy link

shooshx commented Aug 31, 2021

Describe the bug
The return value of the first command that happens after a reconnect to a server that uses AUTH is just the string "OK" instead of the expected reply.

To Reproduce
Steps to reproduce the behavior:

  1. start a local service with authentication enabled (requirepass foobared in redis.conf)
  2. open a connection with the client, send the "AUTH foobared" command
  3. use the client to send the command "SET somekey 1"
  4. restart the service, the client reconnects
  5. use the client to send the command "INCR somekey"
  6. the command returns "OK"

Expected behavior
the last command should return 2

Desktop (please complete the following information):

  • OS: ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant