mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user