diff options
author | Anna Henningsen <anna@addaleax.net> | 2016-10-18 23:30:03 +0300 |
---|---|---|
committer | Myles Borins <mborins@us.ibm.com> | 2016-10-19 16:06:40 +0300 |
commit | f4b766f5b708b8605e4b9c641c6dd8593c791cc0 (patch) | |
tree | 0b0a3221a17f7586942c9cdf79c6883ac3477e0e /doc/changelogs/CHANGELOG_V6.md | |
parent | 9f248a4d83c2d50cfa6d9d29b710d463e83d2482 (diff) |
streams: fix regression in `unpipe()`
Since 2e568d9 there is a bug where unpiping a stream
from a readable stream that has `_readableState.pipesCount > 1`
will cause it to remove the first stream in the
`_.readableState.pipes` array no matter where in the list the
`dest` stream was.
This patch corrects that problem.
PR-URL: https://github.com/nodejs/node/pull/9171
Fixes: https://github.com/nodejs/node/issues/9170
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'doc/changelogs/CHANGELOG_V6.md')
0 files changed, 0 insertions, 0 deletions