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
2c66c525
Commit
2c66c525
authored
Jan 17, 2019
by
antirez
Browse files
ACL: configure the master connection without user.
parent
b87815c1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/replication.c
View file @
2c66c525
...
...
@@ -1080,6 +1080,7 @@ void replicationCreateMasterClient(int fd, int dbid) {
server
.
master
->
authenticated
=
1
;
server
.
master
->
reploff
=
server
.
master_initial_offset
;
server
.
master
->
read_reploff
=
server
.
master
->
reploff
;
server
.
master
->
user
=
NULL
;
/* This client can do everything. */
memcpy
(
server
.
master
->
replid
,
server
.
master_replid
,
sizeof
(
server
.
master_replid
));
/* If master offset is set to -1, this master is old and is not
...
...
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