Skip to main content

MAX_INLINE_CHUNK_SIZE

Constant MAX_INLINE_CHUNK_SIZE 

Source
pub const MAX_INLINE_CHUNK_SIZE: usize = _; // 268_435_456usize
Expand description

Maximum size for an inline chunk (256 MiB).

This limit prevents denial-of-service attacks where a malicious stream could specify an extremely large inline chunk size, causing unbounded memory allocation.