FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

quic: fix potential crash from unobserved closed by pimterry · Pull Request #64134 · nodejs/node · GitHub

/ node Public

quic: fix potential crash from unobserved closed - #64134

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
pimterry:fix-quic-closed-crash
Jul 7, 2026
Merged

quic: fix potential crash from unobserved closed#64134
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
pimterry:fix-quic-closed-crash

Conversation

Copy link
Copy Markdown
Member

(This is independent of the other "split up the h3-split PR" PRs I've just opened - not related to that stream, just something else I ran into)

This fixes a potential crash in QUIC generally. Currently if you don't listen to and handle errors from session.closed synchronously when the session opens (I think doing so is quite uncommon) then by default any remote client can crash the server. Tiny independent fix.

See the test for a demo: closed wasn't marked as handled, and so any error would trigger a unhandledRejection, which exits the process by default.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/quic

nodejs-github-bot added needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3. labels Jun 25, 2026
Signed-off-by: Tim Perry <pimterry@gmail.com>
pimterry force-pushed the fix-quic-closed-crash branch from fa6eb73 to 4c10f54 Compare June 25, 2026 16:07

This comment was marked as outdated.

nodejs-github-bot commented Jul 6, 2026
edited by jasnell
Loading

Copy link
Copy Markdown
Collaborator

jasnell added the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 7, 2026
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 7, 2026
nodejs-github-bot merged commit d7aca7e into nodejs:main Jul 7, 2026
66 checks passed

Copy link
Copy Markdown
Collaborator

Landed in d7aca7e

aduh95 pushed a commit that referenced this pull request Jul 21, 2026
Signed-off-by: Tim Perry <pimterry@gmail.com>
PR-URL: #64134
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Jul 29, 2026
Signed-off-by: Tim Perry <pimterry@gmail.com>
PR-URL: #64134
Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 6, 2026
Signed-off-by: Tim Perry <pimterry@gmail.com>
PR-URL: #64134
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL