I create http::response_parser<http::buffer_body> and set header_limit and body_limit like this
auto parser = std::make_shared<http::response_parser<http::buffer_body>>();
parser->header_limit(std::numeric_limits<std::uint32_t>::max());
parser->body_limit(std::numeric_limits<std::uint64_t>::max());
Next, I transform the http::response_parser<http::buffer_body> parser into a parser of type http::response_parser<http::string_body> as follows
auto new_parser = std::make_shared<http::response_parser<http::string_body>>(std::move(*parser));
My question is, will new_parser inherit header_limit and body_limit from the original parser or not? I didn't find any methods that could report the current values of the given limits.