Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Bump max request entity size to 3 GB.

kishorencc09b8e34d32d
diff --git a/src/http_server.cpp b/src/http_server.cpp
index 7f5c0d1c..ae04e0a0 100644
--- a/src/http_server.cpp
+++ b/src/http_server.cpp
@@ -129,7 +129,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 = (1024 * 1024 * 1024); // 1 GB
+ ctx.globalconf->max_request_entity_size = (3 * 1024 * 1024 * 1024); // 3 GB
ctx.globalconf->http1.req_timeout = REQ_TIMEOUT_MS;
ctx.globalconf->http1.req_io_timeout = REQ_TIMEOUT_MS;