Skip to main content

DIAL_CONNECT_TIMEOUT

Constant DIAL_CONNECT_TIMEOUT 

Source
pub const DIAL_CONNECT_TIMEOUT: Duration;
Expand description

A bounded per-address TCP connect timeout applied at dial. Keeps a dead path from hanging a connect indefinitely on an adverse network.