Skip to main content

UPLOAD_BODY_CEILING_BYTES

Constant UPLOAD_BODY_CEILING_BYTES 

pub const UPLOAD_BODY_CEILING_BYTES: usize = _; // 20_971_520usize
Expand description

Hard ceiling for the route’s body limit, matching the upper clamp of MultimodalConfig::effective_limits (20 MB). The configured limit is enforced per-request inside the handler; this only bounds what axum will buffer.