Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
363604a2
Unverified
Commit
363604a2
authored
Oct 10, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
Oct 10, 2019
Browse files
Merge pull request #6437 from OMG-By/redis-omg_by
there should is AUTH && HELLO non authenticated state.
parents
1677f422
1a292e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
363604a2
...
...
@@ -3376,7 +3376,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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment