Skip to content

Conversation

ronag
Copy link
Member

@ronag ronag commented Jul 21, 2020

Ensures that _construct has finished before invoking
_destroy.

The 'constructed' property was not properly set to false
for both writable and readable state.

Fixes: #34448

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

Ensures that _construct has finished before invoking
_destroy.

The 'constructed' property was not properly set to false
for both writable and readable state.

Fixes: nodejs#34448
@ronag ronag added the stream Issues and PRs related to the stream subsystem. label Jul 21, 2020
@ronag ronag requested a review from jasnell July 21, 2020 05:46
@ronag ronag requested a review from mcollina July 21, 2020 12:57
@ronag
Copy link
Member Author

ronag commented Jul 21, 2020

@nodejs/streams

@ronag ronag requested a review from lpinca July 21, 2020 12:58
@ronag ronag added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 21, 2020
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jasnell
Copy link
Member

jasnell commented Jul 21, 2020

@mcollina ... Aren't you supposed to be enjoying your vacation time ;-p

@jasnell
Copy link
Member

jasnell commented Jul 21, 2020

Can we fast-track this? This is a definite bug and it's holding up progress on some QUIC changes. Please 👍🏻

@jasnell jasnell added the fast-track PRs that do not need to wait for 48 hours to land. label Jul 21, 2020
jasnell pushed a commit that referenced this pull request Jul 21, 2020
Ensures that _construct has finished before invoking
_destroy.

The 'constructed' property was not properly set to false
for both writable and readable state.

Fixes: #34448

PR-URL: #34456
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@jasnell
Copy link
Member

jasnell commented Jul 21, 2020

Landed in 02c4869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. fast-track PRs that do not need to wait for 48 hours to land. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stream: non-readable Duplex async construct race condition

5 participants