Skip to main content

MAX_REQUEST_BYTES

Constant MAX_REQUEST_BYTES 

Source
pub const MAX_REQUEST_BYTES: u64 = _; // 65_536u64
Expand description

Hard ceiling on a single IPC request frame. Anything larger is dropped — a CLI request is never bigger than a few hundred bytes, so 64 KiB is comfortably above the legitimate ceiling while still small enough to keep an attacker from exhausting memory.