From 24c9542b5b84446a5678f3704e9c16a7f5a22f20 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 1 Apr 2019 10:14:24 +0200 Subject: [PATCH] HttpServerConnection: fix side effect of HTTP parser's default body limit --- lib/remote/httpserverconnection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/remote/httpserverconnection.cpp b/lib/remote/httpserverconnection.cpp index 2d187faf5..d041e23ac 100644 --- a/lib/remote/httpserverconnection.cpp +++ b/lib/remote/httpserverconnection.cpp @@ -406,6 +406,7 @@ void HttpServerConnection::ProcessMessages(boost::asio::yield_context yc) http::response response; parser.header_limit(1024 * 1024); + parser.body_limit(-1); response.set(http::field::server, l_ServerHeader);