Skip to main content

DEFAULT_MAX_BODY_BYTES

Constant DEFAULT_MAX_BODY_BYTES 

Source
pub const DEFAULT_MAX_BODY_BYTES: usize = _; // 2_113_536usize
Expand description

The default cap on a request body the layer buffers: the generated routers’ default body limit plus 16 KiB of envelope overhead (a header, a signature, and room for a post-quantum one later, ADR 0006 Q5).