RESP3: restore the concept of null array for RESP2 compat.

This commit is contained in:
antirez
2018-11-30 16:36:55 +01:00
parent 2ad6e875ba
commit 3fd78f41e8
7 changed files with 8 additions and 8 deletions

View File

@ -187,7 +187,7 @@ void replyToBlockedClientTimedOut(client *c) {
if (c->btype == BLOCKED_LIST ||
c->btype == BLOCKED_ZSET ||
c->btype == BLOCKED_STREAM) {
addReplyNull(c);
addReplyNullArray(c);
} else if (c->btype == BLOCKED_WAIT) {
addReplyLongLong(c,replicationCountAcksByOffset(c->bpop.reploffset));
} else if (c->btype == BLOCKED_MODULE) {