Skip to content

Auto-port 5.0: Reject incomplete PUSH_PROMISE request headers when validateRequiredPseudoHeaders is enabled - #17583

Merged
normanmaurer merged 1 commit into
5.0from
auto-port-pr-17460-to-5.0
Sep 22, 2026
Merged

normanmaurer merged 1 commit into
5.0from
auto-port-pr-17460-to-5.0

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #17460 to 5.0
Cherry-picked commit: 2436f95


Motivation:

RFC 9113, 8.4.1 requires a PUSH_PROMISE field block to carry a complete
set of request pseudo-header fields, and mandates a PROTOCOL_ERROR on
the promised stream if it does not. DefaultHttp2ConnectionDecoder never
performed this check, so even with validateRequiredPseudoHeaders
enabled an empty/incomplete promised request was accepted and the
promised stream reserved.

Modifications:

  • Validate push promise headers when enabled
  • Add unit tests

Result:

Fixes #17439

…seudoHeaders is enabled (#17460)

Motivation:

RFC 9113, 8.4.1 requires a PUSH_PROMISE field block to carry a complete
set of request pseudo-header fields, and mandates a PROTOCOL_ERROR on
the promised stream if it does not. DefaultHttp2ConnectionDecoder never
performed this check, so even with validateRequiredPseudoHeaders
enabled an empty/incomplete promised request was accepted and the
promised stream reserved.

Modifications:

- Validate push promise headers when enabled
- Add unit tests

Result:

Fixes #17439

(cherry picked from commit 2436f95)
@testlens-app

testlens-app Bot commented Sep 22, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 5121b8f
▶️ Tests: 230279 executed
⚪️ Checks: 12/12 completed


Learn more about TestLens at testlens.app/docs.

@normanmaurer normanmaurer added this to the 5.0.0.Final milestone Sep 22, 2026
@normanmaurer
normanmaurer merged commit 1810255 into 5.0 Sep 22, 2026
13 checks passed
@normanmaurer
normanmaurer deleted the auto-port-pr-17460-to-5.0 branch September 22, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants