The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-fs-read-stream-err.js @ 6f043940

History | View | Annotate | Download (2.06 KB)

# Date Author Comment
3b2e9d26 02/21/2013 06:23 PM isaacs

stream: remove lowWaterMark feature

It seems like a good idea on the face of it, but lowWaterMarks are
actually not useful, and in practice should always be set to zero.

It would be worthwhile for writers if we actually did some kind of
writev() type of thing, but actually this just delays calling write()...

abbd47e4 12/14/2012 08:46 PM isaacs

test: Update simple/test-fs-{write,read}-stream-err for streams2

Streams2 style streams might have already kicked off a read() or write()
before emitting 'data' events. Make the test less dependent on ordering
of when data events occur.

6e97b2cc 12/12/2012 03:46 AM Ben Noordhuis

fs: fix ReadStream fd leak

Close the file descriptor when a read operation fails.

Fixes #4387.