Skip to content

Add Extended CONNECT setting - #153

Draft
aryan-25 wants to merge 2 commits into
swift-server:mainfrom
aryan-25:expose-connect-protocol-setting
Draft

aryan-25 wants to merge 2 commits into
swift-server:mainfrom
aryan-25:expose-connect-protocol-setting

Conversation

@aryan-25

Copy link
Copy Markdown
Collaborator

Motivation

To advertise support for Extended CONNECT (HTTP/2 and HTTP/3), servers must send the SETTINGS_ENABLE_CONNECT_PROTOCOL setting with value 1. See RFC 8441 and RFC 9220.

This setting is configurable in swift-nio-http2 and swift-nio-http3, but swift-http-server does not expose this setting. We should make this setting configurable from the swift-http-server layer.

Modifications

Added an enableConnectProtocol argument to the HTTP/2 and HTTP/3 configuration.

Result

Users can now configure the setting for advertising Extended CONNECT support.

@aryan-25 aryan-25 added the ⚠️ semver/major Breaks existing public API. label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ semver/major Breaks existing public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant