ensure_tls_port_resolver

Function ensure_tls_port_resolver 

Source
fn ensure_tls_port_resolver(
    ctx: &mut TlsBuildContext,
    port: u16,
) -> &mut CustomSniResolver
Expand description

Ensures that a TLS SNI resolver exists for the given port.

If the resolver does not already exist, it is created along with its associated resolver lock and inserted into the context.

Returns a mutable reference to the resolver for further configuration.