Skip to content

http2: initialize URL handle for server pushes - #22970

Merged
cmeister2 merged 1 commit into
masterfrom
cm2/uh
Sep 16, 2026
Merged

cmeister2 merged 1 commit into
masterfrom
cm2/uh

Conversation

@cmeister2

Copy link
Copy Markdown
Contributor

Retain the parsed CURLU on accepted pushed transfers so retries and relative redirects have valid URL state.

Add regression coverage for relative redirects on pushed streams.

@github-actions github-actions Bot added the tests label Sep 16, 2026
Retain the parsed CURLU on accepted pushed transfers so retries and
relative redirects have valid URL state.

Add regression coverage for relative redirects on pushed streams.

Closes #22970

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

URL ownership and cleanup are correct, and the regression test exercises the affected redirect path.

Pull request overview

Initializes URL state for HTTP/2 pushed transfers, enabling relative redirect resolution and retries.

Changes:

  • Retains the parsed CURLU on pushed handles.
  • Adds regression coverage for relative push redirects.
  • Reports resolved redirect URLs from the test client.
File summaries
File Description
lib/http2.c Retains parsed push URL state.
tests/libtest/cli_h2_serverpush.c Reports pushed-transfer redirect URLs.
tests/http/test_09_push.py Tests relative redirect resolution.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/http2.c
@icing
icing self-requested a review September 16, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants