diff --git a/daggy/src/Server.cpp b/daggy/src/Server.cpp index 8d847b4..ba467ef 100644 --- a/daggy/src/Server.cpp +++ b/daggy/src/Server.cpp @@ -15,7 +15,9 @@ namespace daggy { void Server::init(int threads) { auto opts = Http::Endpoint::options() .threads(threads) - .flags(Pistache::Tcp::Options::ReuseAddr | Pistache::Tcp::Options::ReusePort); + .flags(Pistache::Tcp::Options::ReuseAddr | Pistache::Tcp::Options::ReusePort) + .maxRequestSize(4294967296) + .maxResponseSize(4294967296); endpoint_.init(opts); createDescription(); }