mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Cluster: fix misleading accept errors.
This commit is contained in:
parent
fa9aa90813
commit
4c08ae3ff6
@ -681,6 +681,7 @@ 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) {
|
||||||
|
if (connGetState(conn) == CONN_STATE_ERROR)
|
||||||
serverLog(LL_VERBOSE,
|
serverLog(LL_VERBOSE,
|
||||||
"Error accepting cluster node connection: %s",
|
"Error accepting cluster node connection: %s",
|
||||||
connGetLastError(conn));
|
connGetLastError(conn));
|
||||||
|
Loading…
Reference in New Issue
Block a user