mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-08 02:58:53 +08:00
nghttpx: Increase default backlog
This commit is contained in:
@@ -1447,7 +1447,7 @@ void fill_default_config(Config *config) {
|
|||||||
auto &listenerconf = connconf.listener;
|
auto &listenerconf = connconf.listener;
|
||||||
{
|
{
|
||||||
// Default accept() backlog
|
// Default accept() backlog
|
||||||
listenerconf.backlog = 512;
|
listenerconf.backlog = 65536;
|
||||||
listenerconf.timeout.sleep = 30_s;
|
listenerconf.timeout.sleep = 30_s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user