Constant DEFAULT_HTTP1_REQUEST_LINE_MAX_SIZE
pub const DEFAULT_HTTP1_REQUEST_LINE_MAX_SIZE: usize = _; // 8_192usizeAvailable on crate feature
net only.Expand description
Default maximum number of bytes inspected for an HTTP/1 request-line.
RFC 9112 recommends that HTTP senders and recipients support request-lines of at least 8000 octets. The slightly larger power-of-two default leaves room for the terminating CRLF while keeping protocol detection bounded.