You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Fix parser incorrect buffer skip for MULTI/EXEC transaction errors with WATCH.
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
This commit is contained in:
@@ -117,7 +117,6 @@ ReplyParser.prototype._parseResult = function (type) {
|
||||
}
|
||||
|
||||
if (packetHeader.size < 0) {
|
||||
this._offset += 2;
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -295,4 +294,4 @@ ReplyParser.prototype.send_error = function (reply) {
|
||||
|
||||
ReplyParser.prototype.send_reply = function (reply) {
|
||||
this.emit("reply", reply);
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user