Skip to main content

DEFAULT_EAGER_PEER_SETTINGS_TIMEOUT

Constant DEFAULT_EAGER_PEER_SETTINGS_TIMEOUT 

pub const DEFAULT_EAGER_PEER_SETTINGS_TIMEOUT: Duration;
Available on crate features http-full and http only.
Expand description

Default hard cap on how long we wait for the upstream’s initial h2 SETTINGS frame during eager egress handshake before giving up and treating the connection as non-compliant. Keeps adversarial / dead-but-open peers from stalling the relay indefinitely. Override per-instance with HttpMitmRelay::with_eager_peer_settings_timeout.