mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
444bbd4fa7
We detect for non-string and non-buffer values in onread and turn the stream into an "objectMode" stream. If we are in "objectMode" mode then howMuchToRead will always return 1, state.length will always have 1 appended to it when there is a new item and fromList always takes the first value from the list. This means that for object streams, the n in read(n) is ignored and read() will always return a single value Fixed a bug with unpipe where the pipe would break because the flowing state was not reset to false. Fixed a bug with sync cb(null, null) in _read which would forget to end the readable stream |
||
---|---|---|
.. | ||
about | ||
api | ||
api_assets | ||
blog | ||
community | ||
download | ||
images | ||
logos | ||
blog.html | ||
changelog-foot.html | ||
changelog-head.html | ||
cla.html | ||
favicon.ico | ||
full-white-stripe.jpg | ||
index.html | ||
mac_osx_nodejs_installer_logo.png | ||
node.1 | ||
pipe.css | ||
robots.txt | ||
rss.xml | ||
sh_javascript.min.js | ||
sh_main.js | ||
sh_vim-dark.css | ||
sh.css | ||
template.html | ||
thin-white-stripe.jpg | ||
trademark-policy.pdf | ||
v0.4_announcement.html |