Skip to main content

DEFAULT_SNI_PREREAD_TIMEOUT

Constant DEFAULT_SNI_PREREAD_TIMEOUT 

Source
pub const DEFAULT_SNI_PREREAD_TIMEOUT: u32 = 5;
Expand description

maximum time allowed to receive enough bytes of the TLS ClientHello to read the SNI extension on a TCP listener (5 seconds). Only relevant when at least one SNI-scoped TcpFrontendConfig targets the listener. Must match the proto default on TcpListenerConfig.sni_preread_timeout.