Skip to content

http2: force through RST_STREAM in destroy - #21016

Closed
apapirovski wants to merge 1 commit into
nodejs:masterfrom
apapirovski:fix-http2-rst
Closed

http2: force through RST_STREAM in destroy#21016
apapirovski wants to merge 1 commit into
nodejs:masterfrom
apapirovski:fix-http2-rst

Conversation

@apapirovski

@apapirovskiapapirovski commented May 29, 2018

Copy link
Copy Markdown
Contributor

If still needed, force through RST_STREAM in Http2Stream#destroy calls, so that nghttp2 can wrap up properly and doesn't continue trying to read & write data to the stream.

Fixes: #21008

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

If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
@apapirovskiapapirovski added the http2 Issues or PRs related to the http2 subsystem. label May 29, 2018
@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels May 29, 2018
@apapirovski

Copy link
Copy Markdown
ContributorAuthor

@apapirovskiapapirovski mentioned this pull request May 29, 2018

@benjamingrbenjamingr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice work diagnosing this from that one assertion failure!

Code, test and changes LGTM

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 29, 2018
@ronag

ronag commented May 30, 2018

Copy link
Copy Markdown
Member

Is http2 still considered experimental? Otherwise, maybe this fix might be semi-urgent to get out?

@apapirovski

Copy link
Copy Markdown
ContributorAuthor

@ronag still experimental hence our ability to make breaking changes. That said, I would still consider this important to land soon. (So is #20997 which currently has 0 reviews though.)

@Trott

Copy link
Copy Markdown
Member

@apapirovski

Copy link
Copy Markdown
ContributorAuthor

Landed in 35858bb

@apapirovski
apapirovski deleted the fix-http2-rst branch June 1, 2018 08:59
apapirovski added a commit that referenced this pull request Jun 1, 2018
If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
PR-URL: #21016Fixes: #21008
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
addaleax pushed a commit that referenced this pull request Jun 1, 2018
If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
PR-URL: #21016Fixes: #21008
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@MylesBorinsMylesBorins mentioned this pull request Jun 6, 2018
kjin pushed a commit to kjin/node that referenced this pull request Aug 23, 2018
If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
PR-URL: nodejs#21016Fixes: nodejs#21008
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
kjin pushed a commit to kjin/node that referenced this pull request Sep 25, 2018
If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
PR-URL: nodejs#21016Fixes: nodejs#21008
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
kjin pushed a commit to kjin/node that referenced this pull request Oct 16, 2018
If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
PR-URL: nodejs#21016Fixes: nodejs#21008
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
BethGriggs pushed a commit that referenced this pull request Oct 17, 2018
If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
Backport-PR-URL: #22850
PR-URL: #21016Fixes: #21008
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@BethGriggsBethGriggs mentioned this pull request Oct 30, 2018
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.c++Issues and PRs that require attention from people who are familiar with C++.http2Issues or PRs related to the http2 subsystem.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

http2: assertion failed

8 participants

@apapirovski@ronag@Trott@jasnell@addaleax@benjamingr@BridgeAR@nodejs-github-bot