stream: don't destroy final readable stream in pipeline by ronag · Pull Request #32110 · nodejs/node

@ronag ronag changed the title stream: don't destroy last stream if readable in pipeline don't destroy final readable stream in pipeline

Mar 5, 2020

@ronag

If the last stream in a pipeline is still usable/readable
don't destroy it to allow further composition.

Fixes: nodejs#32105

@ronag ronag mentioned this pull request

Mar 5, 2020

4 tasks

@ronag ronag added the stream

Issues and PRs related to the stream subsystem.

label

Mar 5, 2020

@ronag ronag changed the title don't destroy final readable stream in pipeline stream: don't destroy final readable stream in pipeline

Mar 5, 2020

mcollina

vweevers

ronag added a commit that referenced this pull request

Mar 8, 2020
If the last stream in a pipeline is still usable/readable
don't destroy it to allow further composition.

Fixes: #32105

PR-URL: #32110
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

MylesBorins pushed a commit that referenced this pull request

Mar 9, 2020
If the last stream in a pipeline is still usable/readable
don't destroy it to allow further composition.

Fixes: #32105
Backport-PR-URL: #32111
PR-URL: #32110
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>