redis-node-client icon indicating copy to clipboard operation
redis-node-client copied to clipboard

Problem with how Client.requestBuffer is used

Open tautologistics opened this issue 14 years ago • 1 comments

OS: OSX 10.5.8 Node: 0.1.94 Redis: 1.3.11 redis-client: 505025187faf3cf7a211

Test case: http://gist.github.com/400261

The request sent to redis is consistently truncated in the same place. Either of two changes avoid the problem (but are not fixes):

A. Swap the order of "template" and "code" properties B. Change Client.requestBuffer to be created with an initial size of 4096 instead of 512

I'm trying to work out what the problem is now and will submit a fix if I find it.

tautologistics avatar May 13 '10 19:05 tautologistics

Did you ever check out my push request?

tautologistics avatar Jun 05 '10 15:06 tautologistics