From 13f5cf0b308dbc0f080b42a56f6209575d77bceb Mon Sep 17 00:00:00 2001 From: Kishore Nallan Date: Thu, 21 Oct 2021 15:39:05 +0530 Subject: [PATCH] Bump max req body to 10g. --- src/http_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http_server.cpp b/src/http_server.cpp index e3d0fd9c..31cead75 100644 --- a/src/http_server.cpp +++ b/src/http_server.cpp @@ -131,7 +131,7 @@ int HttpServer::create_listener() { ctx.globalconf->server_name = h2o_strdup(nullptr, "", SIZE_MAX); ctx.globalconf->http2.active_stream_window_size = ACTIVE_STREAM_WINDOW_SIZE; ctx.globalconf->http2.idle_timeout = REQ_TIMEOUT_MS; - ctx.globalconf->max_request_entity_size = (size_t(3) * 1024 * 1024 * 1024); // 3 GB + ctx.globalconf->max_request_entity_size = (size_t(10) * 1024 * 1024 * 1024); // 10 GB ctx.globalconf->http1.req_timeout = REQ_TIMEOUT_MS; ctx.globalconf->http1.req_io_timeout = REQ_TIMEOUT_MS;