Commit 3e43aed1 authored by antirez's avatar antirez
Browse files

Client side caching: fix invalidate message len and content.

parent 46edb55d
......@@ -148,9 +148,9 @@ void trackingInvalidateKey(robj *keyobj) {
/* Only send such info for clients in RESP version 3 or more. */
if (c->resp > 2) {
addReplyPushLen(c,3);
addReplyPushLen(c,2);
addReplyBulkCBuffer(c,"invalidate",10);
addReplyBulk(c,keyobj);
addReplyLongLong(c,hash);
}
}
raxStop(&ri);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment