Skip to content

Enable extended CONNECT bodies on h2c Upgrade - #1330

Closed
fewensa wants to merge 1 commit into
mainfrom
codeon/fewensa/FWN-12/a1-a5004ff44eba4f44ae6a41bdda696645
Closed

fewensa wants to merge 1 commit into
mainfrom
codeon/fewensa/FWN-12/a1-a5004ff44eba4f44ae6a41bdda696645

Conversation

@fewensa

@fewensa fewensa commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Allow RFC 8441 extended CONNECT request and response bodies on the HTTP/1.1 Upgrade h2c path. The Upgrade handshake remains bodyless, then shared HTTP/2 framing sends request DATA on stream 3 and supports buffered and streaming APIs. Add raw-peer regression coverage and preserve prior-knowledge negotiation, validation, and flow-control behavior.

codeon:
  version: 1
  authority: FWN-12
  description: |-
    Allow synchronous and asynchronous h2c Upgrade APIs to use RFC 8441 extended CONNECT, including buffered and streaming response paths. Advertise the connect-protocol setting consistently and add raw-peer coverage proving the HTTP/1.1 Upgrade remains bodyless while request DATA is sent on stream 3.
    
    Tests:
    - cargo fmt --all -- --check
    - cargo test -p rttp_client --features 'http2,async' --test http2_prior_knowledge
    - cargo test -p rttp --features 'client,http2,async' --test http2_feature
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@fewensa fewensa closed this Oct 1, 2026
@fewensa
fewensa deleted the codeon/fewensa/FWN-12/a1-a5004ff44eba4f44ae6a41bdda696645 branch October 1, 2026 08:05
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.

1 participant