Skip to main content

DETECT_BUF_MAX

Constant DETECT_BUF_MAX 

Source
const DETECT_BUF_MAX: usize = _; // 65_536usize
Expand description

The most bytes a control stream is buffered for while its first message is peeked at.

Not a protocol limit. It bounds how long a session that opened a control stream and wrote something unreadable on it keeps the tasks waiting for its draft: past this, the session keeps the draft it started with and says so.