Skip to content

stream: don't emit 'finish' after 'error' - #32275

Closed
ronag wants to merge 2 commits into
nodejs:masterfrom
nxtedition:stream-error-finish
Closed

stream: don't emit 'finish' after 'error'#32275
ronag wants to merge 2 commits into
nodejs:masterfrom
nxtedition:stream-error-finish

Conversation

@ronag

Copy link
Copy Markdown
Member

An edge case could emit 'finish' after 'error'.

Refs: #28710

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@ronagronag added the stream Issues and PRs related to the stream subsystem. label Mar 14, 2020
@ronag
ronag requested review from lpinca and mcollinaMarch 14, 2020 23:51
@ronag
ronagforce-pushed the stream-error-finish branch 2 times, most recently from 7999e19 to 96e82caCompareMarch 14, 2020 23:59
@ronag
ronagforce-pushed the stream-error-finish branch from 96e82ca to 48e7a2eCompareMarch 15, 2020 00:00
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment threadlib/_stream_writable.js Outdated
Co-Authored-By: James M Snell <jasnell@gmail.com>
@ronagronag added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 16, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@ronag

Copy link
Copy Markdown
MemberAuthor

Landed in 9b20b5d

@ronagronag closed this Mar 17, 2020
ronag added a commit that referenced this pull request Mar 17, 2020
PR-URL: #32275
Refs: #28710
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins

Copy link
Copy Markdown
Contributor

@ronag this doesn't land cleanly on v13.x, should it be backported?

ronag added a commit to nxtedition/node that referenced this pull request Mar 19, 2020
PR-URL: nodejs#32275
Refs: nodejs#28710
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Backport-PR-URL: nodejs#32372
MylesBorins pushed a commit that referenced this pull request Mar 24, 2020
Backport-PR-URL: #32372
PR-URL: #32275
Refs: #28710
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Backport-PR-URL: #32372
@MylesBorinsMylesBorins mentioned this pull request Mar 24, 2020
MylesBorins pushed a commit that referenced this pull request Mar 24, 2020
Backport-PR-URL: #32372
PR-URL: #32275
Refs: #28710
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Backport-PR-URL: #32372
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@ronag@nodejs-github-bot@MylesBorins@jasnell@lpinca@targos