Skip to main content

DEFAULT_CONNECT_TIMEOUT

Constant DEFAULT_CONNECT_TIMEOUT 

Source
pub const DEFAULT_CONNECT_TIMEOUT: Duration;
Expand description

How long establishing a connection – DNS, then the TCP and TLS handshake – may take, independent of DEFAULT_TIMEOUT.

Set apart from the total deadline so a route that never completes a handshake is a different fact, in a log line, from a server that connects and then answers too slowly: the first is a network problem, the second is the remote server’s.