Skip to main content

MAX_RECORD_LEN

Constant MAX_RECORD_LEN 

Source
const MAX_RECORD_LEN: usize = 16_640;
Expand description

Max TLS record length per RFC (2^14 + 256 headroom); a larger declared length is treated as malformed.