Merge pull request #4101 from dvirsky/fix_modules_reply_len

Proposed fix to #4100
This commit is contained in:
Salvatore Sanfilippo 2017-07-04 12:01:51 +02:00 committed by GitHub
commit 09dd7b5ff0

View File

@ -3331,6 +3331,7 @@ void moduleHandleBlockedClients(void) {
bc->reply_client->bufpos); bc->reply_client->bufpos);
if (listLength(bc->reply_client->reply)) if (listLength(bc->reply_client->reply))
listJoin(c->reply,bc->reply_client->reply); listJoin(c->reply,bc->reply_client->reply);
c->reply_bytes += bc->reply_client->reply_bytes;
} }
freeClient(bc->reply_client); freeClient(bc->reply_client);