-
Notifications
You must be signed in to change notification settings - Fork 30k
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
[v8.x] http2: fix sequence of error/close events #24789
Conversation
Could we get a review from @nodejs/http2? |
I think the original commit should be cherry-picked: e03bcb1. |
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 on the code change
is cherry-picking something I should do in this PR or is this done during integration on v8.x branch? |
Correct sequence of emitting `error` and `close` events for a `Http2Stream`. PR-URL: #24789 Refs: #22850 Refs: #24685 Fixes: #24559 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Notable changes: * **assert**: - revert breaking change (Ruben Bridgewater) [nodejs#24786](nodejs#24786) * **http2**: - fix sequence of error/close events (Gerhard Stoebich) [nodejs#24789](nodejs#24789) PR-URL: nodejs#24832
Correct sequence of emitting
error
andclose
events for aHttp2Stream
.Refs: #22850
Refs: #24685
Fixes: #24559
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes