Prevent erroneously setting CLIENT_PENDING_WRITE when we have async writes
This commit is contained in:
parent
3f4315125c
commit
c1031e5f98
@ -3694,7 +3694,7 @@ void moduleHandleBlockedClients(void) {
|
||||
/* Put the client in the list of clients that need to write
|
||||
* if there are pending replies here. This is needed since
|
||||
* during a non blocking command the client may receive output. */
|
||||
if (clientHasPendingReplies(c, TRUE) &&
|
||||
if (clientHasPendingReplies(c, FALSE) &&
|
||||
!(c->flags & CLIENT_PENDING_WRITE))
|
||||
{
|
||||
c->flags |= CLIENT_PENDING_WRITE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user