Cluster: fix misleading accept errors.
This commit is contained in:
parent
1a948d0c5b
commit
1f1d642e01
@ -681,9 +681,10 @@ void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
|
|||||||
* or schedule it for later depending on connection implementation.
|
* or schedule it for later depending on connection implementation.
|
||||||
*/
|
*/
|
||||||
if (connAccept(conn, clusterConnAcceptHandler) == C_ERR) {
|
if (connAccept(conn, clusterConnAcceptHandler) == C_ERR) {
|
||||||
serverLog(LL_VERBOSE,
|
if (connGetState(conn) == CONN_STATE_ERROR)
|
||||||
"Error accepting cluster node connection: %s",
|
serverLog(LL_VERBOSE,
|
||||||
connGetLastError(conn));
|
"Error accepting cluster node connection: %s",
|
||||||
|
connGetLastError(conn));
|
||||||
connClose(conn);
|
connClose(conn);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user