mirror of
https://github.com/typesense/typesense.git
synced 2025-05-23 23:30:42 +08:00
Bump max req body to 10g.
This commit is contained in:
parent
382a8a6e36
commit
13f5cf0b30
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user