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

Fixes errors in redis_out_close and issue #445 #460

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

secmobi
Copy link

@secmobi secmobi commented Nov 11, 2019

In the redis_out_close():

  1. send QUIT instead of PING to the connected Redis server for disconnection. The PING was a wrong command here.

  2. expect +OK or :0 as legitimate responses from the server, other than +PONG.

This resolves the issue #445

Tested with the latest stable version of Redis server (5.0.5).

In the redis_out_close(), send QUIT instead of PING to Redis server for
disconnection. Besides, expect both "+OK" and ":0" as legitimate responses.
This also resolves the issue robertdavidgraham#445.
Tested with the latest stable version of Redis server (5.0.5).
@robertdavidgraham robertdavidgraham merged commit b949dba into robertdavidgraham:master Jan 10, 2021
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

Successfully merging this pull request may close these issues.

2 participants