there should is AUTH && HELLO non authenticated state.
This commit is contained in:
parent
a92921da13
commit
1a292e0634
@ -3366,7 +3366,7 @@ int processCommand(client *c) {
|
||||
!c->authenticated;
|
||||
if (auth_required) {
|
||||
/* AUTH and HELLO are valid even in non authenticated state. */
|
||||
if (c->cmd->proc != authCommand || c->cmd->proc == helloCommand) {
|
||||
if (c->cmd->proc != authCommand && c->cmd->proc != helloCommand) {
|
||||
flagTransaction(c);
|
||||
addReply(c,shared.noautherr);
|
||||
return C_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user