Skip to main content

PEX_MAX_FRAME

Constant PEX_MAX_FRAME 

Source
pub const PEX_MAX_FRAME: usize = 262_144;
Expand description

Maximum message body bytes (256 KiB) — matches the DHT / dig-nat wire bound. A frame claiming a larger body MUST be rejected before allocating or reading the body (SPEC §4.1, §7.2).