Beast Logo

PrevUpHomeNext

http::header_max_size

Header maximum size option.

struct header_max_size
Member Functions

Name

Description

header_max_size

Data Members

Name

Description

value

Sets the maximum number of cumulative bytes allowed including all header octets. A value of zero indicates no limit on the number of header octets.

The default header maximum size is 16KB (16,384 bytes).

Remarks

Objects of this type are used with basic_parser_v1::set_option.

Requirements

Header: beast/http/basic_parser_v1.hpp

Convenience header: beast/http.hpp


PrevUpHomeNext