Skip to main content

STREAM_SEND_TIMEOUT

Constant STREAM_SEND_TIMEOUT 

Source
const STREAM_SEND_TIMEOUT: Duration;
Expand description

How long to wait for a backpressured send to a response stream before treating the consumer as hung and dropping the stream.

Without a bound, a consumer whose connection is half-open (dead TCP not yet detected) would block the streaming task indefinitely.