-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: finished waits for 'close' on OutgoingMessage #36648
Conversation
@nodejs/http |
@nodejs/http @nodejs/streams this needs review |
Don't invoke finished callback until OutgoingMessagehas emitted 'close'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
ac36161
to
fef3c07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Landed in 52546c0 |
Don't invoke finished callback until OutgoingMessagehas emitted 'close'. PR-URL: #36648 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Don't invoke finished callback until OutgoingMessagehas emitted 'close'. PR-URL: #36648 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
The test fails if I cherry-pick this to v14.x-staging. Assuming it shouldn't land on that branch. |
Don't invoke finished callback until OutgoingMessage has
emitted 'close'.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes