From 43f7dc46680ba7fb62a1d546a9aef6b9894e1ab8 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 13 Apr 2025 16:57:05 +0100 Subject: [PATCH] main: remove old comment --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 318d848..7042cc2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,7 +81,7 @@ int main(int argc, char** argv, char** envp) { auto endpoint = std::make_unique(address); auto opts = Pistache::Http::Endpoint::options().threads(threads).flags(Pistache::Tcp::Options::ReuseAddr | Pistache::Tcp::Options::ReusePort); - opts.maxRequestSize(g_pConfig->m_config.max_request_size); // 150MB TODO: configurable + opts.maxRequestSize(g_pConfig->m_config.max_request_size); endpoint->init(opts); auto handler = Pistache::Http::make_handler(); handler->init();