summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2017-07-04 12:01:51 +0200
committerGitHub <noreply@github.com>2017-07-04 12:01:51 +0200
commit09dd7b5ff02de4a311032939c27fd6fc62fbd4a3 (patch)
tree06bceddbf0b884394dbfa2ca422f00db23175ff8
parenteddd8d34c4e82120ff9b0748aa48051b452f123b (diff)
parent86e564e9fffeb764cca45f6bc102b78c3119f822 (diff)
downloadredis-09dd7b5ff02de4a311032939c27fd6fc62fbd4a3.tar.gz
Merge pull request #4101 from dvirsky/fix_modules_reply_len
Proposed fix to #4100
-rw-r--r--src/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c
index 35e479927..ac00867e4 100644
--- a/src/module.c
+++ b/src/module.c
@@ -3331,6 +3331,7 @@ void moduleHandleBlockedClients(void) {
bc->reply_client->bufpos);
if (listLength(bc->reply_client->reply))
listJoin(c->reply,bc->reply_client->reply);
+ c->reply_bytes += bc->reply_client->reply_bytes;
}
freeClient(bc->reply_client);