Skip to content

[FEATURE] Add Alt-Svc header support to advertise HTTP/3 availability #20433

@reta

Description

@reta

Is your feature request related to a problem? Please describe

It is impossible to determine, in advance, whether a target server supports HTTP/3. It is also impossible to upgrade an existing HTTP/1.1 or HTTP/2 connection to an HTTP/3 connection, since HTTP/1.1 and HTTP/2 are built on top of TCP streams while HTTP/3's QUIC is built on top of UDP datagrams.

Describe the solution you'd like

By default, if enabled, HTTP/3 transport is available on the same port as HTTP/1.1 and HTTP/2 transports. The Alt-Svc header (see please [1]) is the standard way to advertise alternative services (HTTP/2 or HTTP/3).

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Alt-Svc

Related component

Other

Describe alternatives you've considered

None

Additional context

Part of #4451

Metadata

Metadata

Assignees

Labels

OtherenhancementEnhancement or improvement to existing feature or requestuntriagedv3.5.0Issues and PRs related to version 3.5.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions