Skip to main content

HANDSHAKE_TIMEOUT

Constant HANDSHAKE_TIMEOUT 

Source
pub const HANDSHAKE_TIMEOUT: Duration;
Available on crate feature tls only.
Expand description

How long a client has to complete a TLS handshake.

Generous for a handshake and short for a socket somebody is squatting on. It is not a configuration key: a deployment that needs a different number has an idle timeout of its own in front, and this one exists so that a server with no such thing in front is still not held open by a client that connects and says nothing.