-
Notifications
You must be signed in to change notification settings - Fork 998
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce scope of HELLO implementation (#129)
* Reduce scope of HELLO implementation Only accept protover=2 as a valid argument as that is the only thing that is supported at the moment. For all other arguments degrade to 'unknown command' The previous implementation creates issues for clients expecting the presence of the HELLO command to also signal the presence of RESP3 (as technically the command appeared in redis at the same time as support for RESP3). It also did not raise any errors when unsupported (or invalid) arguments were passed to the command (such as AUTH, SETNAME) * Fix error in test * Remove unnecessary context in assertion * Fix construction of unknown command error string * Fix casing of error string
- Loading branch information
Showing
4 changed files
with
33 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters