Skip to main content

DEFAULT_MAX_REQUEST_LINE_SIZE

Constant DEFAULT_MAX_REQUEST_LINE_SIZE 

Source
pub const DEFAULT_MAX_REQUEST_LINE_SIZE: usize = KB_8; // 8_192usize
Expand description

The default maximum request line size. This constant defines the maximum size of an HTTP request line to prevent buffer overflow attacks and resource exhaustion.