mirror of https://github.com/lukechilds/node.git
Browse Source
When a readable listener is added, call read(0) so that data will flow in, up to the high water mark. Otherwise, it's somewhat confusing that you have to listen for readable, and ALSO call read() (when it will certainly return null) just to get some data out of the stream. See: #4720v0.9.12-release
isaacs
12 years ago
3 changed files with 34 additions and 11 deletions
Loading…
Reference in new issue