Uh oh!
There was an error while loading. Please reload this page.
Revert "stream: prevent 'end' to be emitted after 'error'" - #20449
Conversation
This reverts commit 0857790.
FWIW I'm targeting master here because I think we need a better plan on how to more easily transition existing code (e.g. replacing existing uses of 'end' with some other event that acts as a "error or not" end event, such as 'close' or similar as I suggested in the referenced issue). |
mscdex
commented
May 1, 2018
/cc @nodejs/streams |
mcollina
commented
May 1, 2018
I’m -1 to land this on master. I’m +1 to land this on node 10.0.0. |
mscdex
commented
May 4, 2018
/cc @nodejs/collaborators |
@mcollina I’d really really like to not get in a habit of reverting commits only on release branches – if there is breakage that is significant enough to revert something, then we should try to keep Edit: Removing the |
mscdex
commented
May 7, 2018
@mcollina I'm confused a bit with your explicit approval. Does that mean you are no longer -1 on landing this on master? |
mcollina
commented
May 7, 2018
Yes exactly. I’ll resend the PR as soon as this land, but we need to revert it in 10 (it seems this causes some other issues). I agree this was rushed in. |
addaleax
commented
May 7, 2018
Landed in 8f6ab9f |
ronag
commented
May 7, 2018
@addaleax re-open open v11? |
addaleax
commented
May 7, 2018
This reverts commit 8f6ab9f. This PR adds _readableState.errorEmitted and add the tracking of it. Fixes: nodejs#6083 See: nodejs#20334 See: nodejs#20449
mcollina
commented
May 7, 2018
Done in #20571. |
Fixes: #20334
CI: https://ci.nodejs.org/job/node-test-pull-request/14609/
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes