You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thanks for putting together this redis client. Did some testing today. Ran into a bug where there was no callback when "get"ing a key which had a large value. After some debugging, I noticed that the problem was related to this.valueBufferLen being reset.
See:
// If the current value buffer is too big, create a new buffer, copy in
// the old buffer, and replace the old buffer with the new buffer.
if (this.valueBufferLen === this.valueBuffer.length) {
sys.puts( ">>>> BUFFER OVERFLOW" );
var newBuffer = new Buffer(this.valueBuffer.length * 2);
this.valueBuffer.copy(newBuffer, 0, 0);
///D this.valueBufferLen = 0;
this.valueBuffer = newBuffer;
}
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for putting together this redis client. Did some testing today. Ran into a bug where there was no callback when "get"ing a key which had a large value. After some debugging, I noticed that the problem was related to this.valueBufferLen being reset.
See:
The text was updated successfully, but these errors were encountered: