Skip to main content

READ_DEADLINE

Constant READ_DEADLINE 

Source
pub const READ_DEADLINE: Duration;
Expand description

How long the shared server lets a connection go without a request read in full on it before it closes the connection: waiting for a request head, kept alive between requests, or reading a body. A client that sends one byte a second would otherwise hold a request thread forever, and enough of them would leave the probe above nobody to answer it (I2156). Generous, because a person’s client on a slow link is a client too; far below anything that would let a handful of slow sockets outlast a BUSY_GRACE contest many times over.