Skip to content

Comments

HTTP alternative services improvements#5992

Merged
vietj merged 5 commits intomasterfrom
alt-svc-improvements
Feb 24, 2026
Merged

HTTP alternative services improvements#5992
vietj merged 5 commits intomasterfrom
alt-svc-improvements

Conversation

@vietj
Copy link
Member

@vietj vietj commented Feb 23, 2026

A few improvements are necessary

  • support formally protocol at resolver level to avoid unwrapping endpoint servers
  • client should pick up the best protocol available when no specific protocol is required
  • alternative services should be contributed to the resolver after checking the server is actually available instead of assuming it will be

@vietj vietj added this to the 5.1.0 milestone Feb 23, 2026
Motivation:

The current alt-svc update propagation optimistically assumes that the alternative is valid. When an alt-svc connection fails, the connection error is reported and make the alternative unavailable.

Changes:

The alt-svc propagation attempts to connect to the alternative via a client pool, as a check to ensure the alternative is valid.

As side effect, the pool will contain a connection to the alternative when it will be used.
@vietj vietj force-pushed the alt-svc-improvements branch from 4d5ac4b to c7f29ab Compare February 24, 2026 09:27
@vietj vietj self-assigned this Feb 24, 2026
@vietj vietj merged commit 939e778 into master Feb 24, 2026
7 checks passed
@vietj vietj deleted the alt-svc-improvements branch February 24, 2026 09:50
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