Http module

Limits

structSource

Limits on what the parser accepts. A message over a limit is refused with the kind that maps to the status the limit names.

Fields

max_line_size: := 8192
the request line (414) or one header line (431), bytes, CRLF excluded
max_head_size: := 65536
the request line and headers together (431)
max_headers: := 100
header lines (431)
max_trailer_size: := 8192
all trailer lines together (431)
max_chunk_extension: := 1024
bytes after the chunk size on its line (400)
max_body_size: s64
decoded body bytes; -1 for no limit (413)
require_host: := true
an HTTP/1.1 request needs exactly one Host (RFC 9112 3.2)
skip_leading_empty_lines: := true
ignore CRLFs before the start line (RFC 9112 2.2 asks it of servers; clients benefit too)

See also