Chandra Sekar S
2b08bacd56
Removed range read optimization as it doesn't work with libeio.
14 years ago
Marco Rogers
4a7562d28f
fix encoding option on ReadStream, updated test
14 years ago
Tj Holowaychuk
893ebe7230
Fixed fs.ReadStream() start: 0 bug
14 years ago
Ryan Dahl
bbbcd1fee0
Safe constructors for fs.ReadStream and fs.WriteStream
14 years ago
Tobie Langel
512016fd74
Test for ReadStream typo
14 years ago
Chandra Sekar S
f5f7cb9264
Support for reading byte ranges from files using fs.createReadStream.
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Ryan Dahl
8840ce340d
Bugfix: fs.ReadStream.setEncoding
Improve test-fs-read-stream test.
15 years ago
Ryan Dahl
19f475c573
fs.ReadStream should emit Buffers
And do proper utf8 encoding.
15 years ago
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
15 years ago
Ryan Dahl
c0e18f37d4
Don't reference fixtures/multipart.js
15 years ago
Ryan Dahl
b80f6e9ed1
http2 now default
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
Felix Geisendörfer
44dde5f24c
Remove fs/path globals from test suite
It is way too easy to not notice bugs due to those modules being
exported as globals while running the test suite.
See: http://github.com/ry/node/issues#issue/75
15 years ago
Felix Geisendörfer
9a9f08b1bc
Add callbacks to stream methods
Allows for more fine graining, especially finding out about an individual
chunk of data being flushed in a write stream rather than the whole queue.
This commit also fixes a bug causing forceClose to fail on a readStream that
did not finish opening yet.
15 years ago
Felix Geisendörfer
0fcc94525a
Renamed fileReadStream -> createReadStream
Did the same for fileWriteStream as well.
15 years ago
Felix Geisendörfer
f6e00759ef
Initial read stream implementation
15 years ago