mirror of https://github.com/Icinga/icinga2.git
HttpServerConnection: fix side effect of HTTP parser's default body limit
This commit is contained in:
parent
d428bdf384
commit
24c9542b5b
|
@ -406,6 +406,7 @@ void HttpServerConnection::ProcessMessages(boost::asio::yield_context yc)
|
|||
http::response<http::string_body> response;
|
||||
|
||||
parser.header_limit(1024 * 1024);
|
||||
parser.body_limit(-1);
|
||||
|
||||
response.set(http::field::server, l_ServerHeader);
|
||||
|
||||
|
|
Loading…
Reference in New Issue