Skip to main content

DRAIN_BOUND

Constant DRAIN_BOUND 

Source
pub const DRAIN_BOUND: Duration;
Expand description

How long authenticate waits for a refused request’s body to arrive.

A caller that sent a head and then nothing would otherwise hold its refusal open for as long as it liked; after this the refusal goes out over whatever arrived, and the connection ends as it did before there was a drain.