summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-07-09 20:34:51 +0300
committerValentin Bartenev <vbart@nginx.com>2018-07-09 20:34:51 +0300
commit5a05f569b7a637649ce13c40f9d7758b0c37abe6 (patch)
tree3899abe8102e96a8e6f23cf49af81642efa077c2
parent7e3de003c7e6078be822b64c40042cb4385210fd (diff)
downloadunit-5a05f569b7a637649ce13c40f9d7758b0c37abe6.tar.gz
unit-5a05f569b7a637649ce13c40f9d7758b0c37abe6.tar.bz2
Router: increased HTTP connection related limits.
-rw-r--r--src/nxt_router.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 1b4c1596..9e71c3ec 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -1521,11 +1521,11 @@ nxt_router_conf_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf,
skcf->large_header_buffer_size = 8192;
skcf->large_header_buffers = 4;
skcf->body_buffer_size = 16 * 1024;
- skcf->max_body_size = 2 * 1024 * 1024;
- skcf->idle_timeout = 65000;
- skcf->header_read_timeout = 5000;
- skcf->body_read_timeout = 5000;
- skcf->send_timeout = 5000;
+ skcf->max_body_size = 8 * 1024 * 1024;
+ skcf->idle_timeout = 180 * 1000;
+ skcf->header_read_timeout = 30 * 1000;
+ skcf->body_read_timeout = 30 * 1000;
+ skcf->send_timeout = 30 * 1000;
if (http != NULL) {
ret = nxt_conf_map_object(mp, http, nxt_router_http_conf,