1
0
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:
Bryce Baril
2013-02-23 19:20:30 -08:00
committed by DTrejo
parent 87132e2b03
commit 0c172f425c
2 changed files with 36 additions and 2 deletions

View File

@@ -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);
};
};