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
4c08ae3f
Commit
4c08ae3f
authored
Mar 22, 2020
by
Yossi Gottlieb
Browse files
Cluster: fix misleading accept errors.
parent
fa9aa908
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
4c08ae3f
...
...
@@ -681,9 +681,10 @@ void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
* or schedule it for later depending on connection implementation.
*/
if
(
connAccept
(
conn
,
clusterConnAcceptHandler
)
==
C_ERR
)
{
serverLog
(
LL_VERBOSE
,
"Error accepting cluster node connection: %s"
,
connGetLastError
(
conn
));
if
(
connGetState
(
conn
)
==
CONN_STATE_ERROR
)
serverLog
(
LL_VERBOSE
,
"Error accepting cluster node connection: %s"
,
connGetLastError
(
conn
));
connClose
(
conn
);
return
;
}
...
...
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