Skip to main content

STALL_TIMEOUT

Constant STALL_TIMEOUT 

Source
pub(super) const STALL_TIMEOUT: Duration;
Expand description

How long the end of a connection waits for a client which takes nothing of what the server sends, like the rest of the output, the status of a session and the close, before the connection gets ended. A slow client gets all of it, only one which stopped reading gets dropped, see Activity::until_stalled. Not too short: the kernel wakes up a write which waits for the client only once a third of the send buffer drained, which can take a while with a send buffer of a few MiB and a slow client.