...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(Inherited from http::basic_parser
)
Set a limit on the total size of the header.
void header_limit( std::uint32_t v);
This function sets the maximum allowed size of the header including all
field name, value, and delimiter characters and also including the CRLF
sequences in the serialized input. If the end of the header is not found
within the limit of the header size, the error error::header_limit
is returned by put
.
Setting the limit after any header octets have been parsed results in undefined
behavior.