mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge pull request #7305 from madolson/unstable-connection
EAGAIN not handled for TLS during diskless load
This commit is contained in:
commit
285817b28a
@ -1526,6 +1526,10 @@ void readSyncBulkPayload(connection *conn) {
|
||||
|
||||
nread = connRead(conn,buf,readlen);
|
||||
if (nread <= 0) {
|
||||
if (connGetState(conn) == CONN_STATE_CONNECTED) {
|
||||
/* equivalent to EAGAIN */
|
||||
return;
|
||||
}
|
||||
serverLog(LL_WARNING,"I/O error trying to sync with MASTER: %s",
|
||||
(nread == -1) ? strerror(errno) : "connection lost");
|
||||
cancelReplicationHandshake();
|
||||
|
Loading…
Reference in New Issue
Block a user