Skip to main content

Module ech_discovery

Module ech_discovery 

Available on crate features dns and tls only.
Expand description

Optional ECH discovery for a fixed destination before a TLS handshake.

This adapter never changes the endpoint or negotiates an HTTP service. It consumes compatible records for the selected target, including a root ServiceMode target at its CNAME owner when no HTTPS AliasMode was followed and the port is unchanged. This binds the service’s configuration to the existing endpoint; it does not claim that address and HTTPS CNAME chains match. Stacks selecting among HTTPS endpoints should use the shared lookup directly or the HTTP discovery layer, then supply TargetEchConfig to their TLS backend.

Structs§

TargetEchConfigLayer
Discover ECH for an already selected physical endpoint without adding a cache.
TargetEchConfigService
Fixed-endpoint ECH discovery followed by a TLS connector or peeked relay service.