Skip to main content

STREAM_READER_BUFFER

Constant STREAM_READER_BUFFER 

Source
pub(crate) const STREAM_READER_BUFFER: usize = _; // 1_000usize
Expand description

Size of the buffer used between the reactor and a StreamReader.

FIXME(eta): We pick 2× the receive window, which is very conservative (we arguably shouldn’t get sent more than the receive window anyway!). We might do due to things that don’t count towards the window though.