Skip to main content

BW_MAX_CHUNK

Constant BW_MAX_CHUNK 

Source
const BW_MAX_CHUNK: NonZero<usize>;
Expand description

Maximum number of bytes a single channel requests from the bandwidth pool.

This is the maximum TLS record plaintext size of 16KiB. See: RFC 8446 section 5.1 (TLS 1.3) and RFC 5246 section 6.2.1 (TLS 1.2).