The Wayback Machine - https://web.archive.org/web/20210129034344/https://github.com/nodejs/node/issues/36674
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream: pipeline should error if any stream is destroyed #36674

Open
ronag opened this issue Dec 29, 2020 · 1 comment · May be fixed by #36791
Open

stream: pipeline should error if any stream is destroyed #36674

ronag opened this issue Dec 29, 2020 · 1 comment · May be fixed by #36791

Comments

@ronag
Copy link
Member

@ronag ronag commented Dec 29, 2020

pipeline should immediately fail with ERR_STREAM_DESTROYED when any of the streams have already been destroyed.

Readable might need a little extra consideration since it's possible to read the data after being destroyed. Should maybe check _readableState.errored and/or _readableState.ended.

Refs: #29227 (comment)

@kalenikalexander
Copy link

@kalenikalexander kalenikalexander commented Dec 29, 2020

I would like to work on this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
@ronag @kalenikalexander and others