Skip to main content

HEADER_READ_TIMEOUT

Constant HEADER_READ_TIMEOUT 

Source
pub const HEADER_READ_TIMEOUT: Duration;
Expand description

How long a connection has to finish sending its request headers.

Generous for a real client on a slow link — a request head is a few hundred bytes — and short enough that holding a connection open costs an attacker a fresh handshake every time it elapses.