From db938afd668be57c7a24710ea54063a89a953150 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 20 Jan 2017 23:06:24 +0900 Subject: [PATCH] nghttpx: Increase default backlog --- src/shrpx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index 7fc57584..caa4fb2c 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -1447,7 +1447,7 @@ void fill_default_config(Config *config) { auto &listenerconf = connconf.listener; { // Default accept() backlog - listenerconf.backlog = 512; + listenerconf.backlog = 65536; listenerconf.timeout.sleep = 30_s; } }