Skip to main content

MAX_MULTIPART_PARTS

Constant MAX_MULTIPART_PARTS 

Source
pub const MAX_MULTIPART_PARTS: usize = 1024;
Expand description

Maximum number of sibling parts inside a single multipart body during inbound parse. Adversarial input could otherwise produce millions of empty parts (a “fan-out bomb”) at one level deep.