1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Fix bug in ready check with return_buffers set to true.

Thanks to Dean Mao and Austin Chau.
This commit is contained in:
Matt Ranney
2011-02-22 21:10:50 -10:00
parent 99ae085e40
commit 29e09c1c16
3 changed files with 9 additions and 3 deletions

View File

@@ -1,6 +1,12 @@
Changelog
=========
## v0.5.6 - February 22, 2011
Fix bug in ready check with `return_buffers` set to `true`.
Thanks to Dean Mao and Austin Chau.
## v0.5.5 - February 16, 2011
Add probe for server readiness.

View File

@@ -179,7 +179,7 @@ RedisClient.prototype.ready_check = function () {
return;
}
var lines = res.split("\r\n"), obj = {}, retry_time;
var lines = res.toString().split("\r\n"), obj = {}, retry_time;
lines.forEach(function (line) {
var parts = line.split(':');

View File

@@ -1,5 +1,5 @@
{ "name" : "redis",
"version" : "0.5.5",
"version" : "0.5.6",
"description" : "Redis client library",
"author": "Matt Ranney <mjr@ranney.com>",
"contributors": [