diff options
Diffstat (limited to 'lib/_stream_readable.js')
-rw-r--r-- | lib/_stream_readable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js index 3e46a604e5..cbbfd0ba59 100644 --- a/lib/_stream_readable.js +++ b/lib/_stream_readable.js @@ -475,7 +475,7 @@ Readable.prototype.read = function(n) { ret = null; if (ret === null) { - state.needReadable = true; + state.needReadable = state.length <= state.highWaterMark; n = 0; } else { state.length -= n; |