Skip to main content

FETCH_TIMEOUT

Constant FETCH_TIMEOUT 

Source
pub const FETCH_TIMEOUT: Duration;
Expand description

How long one remote read may take, from sending the request to the last byte of the body. A command has no one watching a progress indicator, so a server that accepts the connection and then stalls would otherwise hang it for as long as the socket stays open. Generous enough for a slow link to deliver a document within MAX_RESPONSE_BYTES.