Skip to main content

DEFAULT_SHUTDOWN_GRACE

Constant DEFAULT_SHUTDOWN_GRACE 

pub const DEFAULT_SHUTDOWN_GRACE: Duration;
Available on crate features icap and std only.
Expand description

Default time a peer may hold the write shutdown that closes a connection.

A second lets a peer on a slow link take the last bytes of a close, and keeps a peer that stopped reading from holding a connection, or the verdict a client waits to hand on, for longer than that.