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

quic: reset rejected HTTP/3 request streams with H3_REQUEST_REJECTED by trivenay · Pull Request #65442 · nodejs/node · GitHub

/ node Public

quic: reset rejected HTTP/3 request streams with H3_REQUEST_REJECTED - #65442

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
trivenay:quic-h3-request-rejected
Aug 23, 2026
Merged

quic: reset rejected HTTP/3 request streams with H3_REQUEST_REJECTED#65442
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
trivenay:quic-h3-request-rejected

Conversation

Copy link
Copy Markdown
Contributor

When an incoming HTTP/3 request stream is rejected without any application processing (the session has no stream consumer), it is now reset with H3_REQUEST_REJECTED so the peer learns the request was not processed, per RFC 9114 §4.1.1. The code is surfaced per-application like the existing no-error/internal-error codes, so non-HTTP/3 applications are unchanged.

Fixes: #65441

An incoming HTTP/3 request stream rejected without any application
processing (the session has no stream consumer) is now reset with
H3_REQUEST_REJECTED so the peer learns the request was not processed,
per RFC 9114 section 4.1.1. The code is surfaced per-application like
the existing no-error and internal-error codes, so non-HTTP/3
applications are unchanged.

Fixes: nodejs#65441
Signed-off-by: Naman Trivedi <trivenay@amazon.com>

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/quic

nodejs-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. needs-ci PRs that need a full CI run. labels Aug 20, 2026

codecov Bot commented Aug 20, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.10%. Comparing base (5ba7e05) to head (a47916c).
⚠️ Report is 58 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65442      +/-   ##
==========================================
- Coverage   91.85%   90.10%   -1.75%     
==========================================
  Files         400      752     +352     
  Lines      179110   252339   +73229     
  Branches    27351    47454   +20103     
==========================================
+ Hits       164522   227382   +62860     
- Misses      14258    16254    +1996     
- Partials      330     8703    +8373     
Files with missing lines Coverage Δ
lib/internal/quic/quic.js 100.00% <100.00%> (ø)
lib/internal/quic/state.js 100.00% <100.00%> (ø)

... and 484 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This comment was marked as outdated.

trivikr added the quic Issues and PRs related to the QUIC implementation / HTTP/3. label Aug 20, 2026
trivikr added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 20, 2026

This comment was marked as outdated.

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

trivikr added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 23, 2026
nodejs-github-bot merged commit da7b94e into nodejs:main Aug 23, 2026
99 of 100 checks passed

Copy link
Copy Markdown
Collaborator

Landed in da7b94e

nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 23, 2026
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
An incoming HTTP/3 request stream rejected without any application
processing (the session has no stream consumer) is now reset with
H3_REQUEST_REJECTED so the peer learns the request was not processed,
per RFC 9114 section 4.1.1. The code is surfaced per-application like
the existing no-error and internal-error codes, so non-HTTP/3
applications are unchanged.

Fixes: #65441
Signed-off-by: Naman Trivedi <trivenay@amazon.com>
PR-URL: #65442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
An incoming HTTP/3 request stream rejected without any application
processing (the session has no stream consumer) is now reset with
H3_REQUEST_REJECTED so the peer learns the request was not processed,
per RFC 9114 section 4.1.1. The code is surfaced per-application like
the existing no-error and internal-error codes, so non-HTTP/3
applications are unchanged.

Fixes: #65441
Signed-off-by: Naman Trivedi <trivenay@amazon.com>
PR-URL: #65442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@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

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. 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. 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.

quic: reset rejected HTTP/3 request streams with H3_REQUEST_REJECTED

5 participants


Back | FazBrowse Home | New Git URL