Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[v12.x] http2: update handling of streams on rst_stream frames#39659

Closed
kumarak wants to merge 2 commits into
nodejs:v12.x-stagingnodejs/node:v12.x-stagingfrom
kumarak:kumarak/v12.x_backport_rst_streamkumarak/node:kumarak/v12.x_backport_rst_streamCopy head branch name to clipboard
Closed

[v12.x] http2: update handling of streams on rst_stream frames#39659
kumarak wants to merge 2 commits into
nodejs:v12.x-stagingnodejs/node:v12.x-stagingfrom
kumarak:kumarak/v12.x_backport_rst_streamkumarak/node:kumarak/v12.x_backport_rst_streamCopy head branch name to clipboard

Conversation

@kumarak

@kumarak kumarak commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

Backport ref PR #39622 and resolve merge conflict with
git cherry-pick

@github-actions github-actions Bot added c++ Issues and PRs that require attention from people who are familiar with C++. http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run. v12.x labels Aug 4, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@richardlau

Copy link
Copy Markdown
Member

Should I expect the testcase to fail on earlier versions of Node.js 12? When I test locally with 12.22.4 and without the http2 change in this PR the testcase passes.

@kumarak

kumarak commented Aug 5, 2021

Copy link
Copy Markdown
Contributor Author

@richardlau, Ideally the test should verify the fixes but I was unable to reproduce the issue without grpc-js. The original issue scripts are here(repro-node-crash). I tried reproducing it with http2 streams.

So I simplified the test case and only checks the RST_STREAM frames getting sent with cancel error code, the stream is in the paused-reading state, and there is no issue with handling it(e.g: no endpoint hang, no stream close error). The behavior is same what it was previously and the test case passes with the older version as well.

@richardlau

Copy link
Copy Markdown
Member

This went out in 12.22.5 in f2f7a45...9cd1f53.

@richardlau richardlau closed this Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.