-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Describe the feature
Implement a reasonable support for HTTP alternative services.
Motivation
One possible HTTP/3 discovery mechanism is through Alternative Services, which Vert.x HTTP client do not support
Implementation
Vert.x HTTP client associates an origin like concept (as in Web Origin Concept) to a shared client pool to the origin server.
Vert.x 5 introduced an address resolver, proper support of origin to socket address can be implemented with a custom resolver.
Such resolver can resolve an origin (which can be an address) to a server origin endpoint which can comprehend the first HTTP service discovered by DNS and the alternative services discovered via the alternative services mechanism.
The resolver already implements time based eviction and invalidation which are necessary to support this.
Notes
This goes beyond HTTP/3 since alternative services work for HTTP/1.1 and HTTP/2 as well.
Contribution
No response