diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-08 12:29:50 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-08 12:29:50 +0200 |
commit | 575b997d1dd13d4295e5bc2f612f8f639c5d9a60 (patch) | |
tree | 33617d7b049d804958e91765e1bb4392eec1cff1 /teal-src/util/smqueue.tl | |
parent | 11017d1130b99b5d0979cf8393ebc2446bea82af (diff) | |
download | prosody-575b997d1dd13d4295e5bc2f612f8f639c5d9a60.tar.gz prosody-575b997d1dd13d4295e5bc2f612f8f639c5d9a60.zip |
net.server_epoll: Add support for TCP Fast Open
Requires a patch to LuaSocket adding this socket option,
https://github.com/lunarmodules/luasocket/pull/378
sysctl tweaks
net.ipv4.tcp_fastopen=3
net.ipv4.tcp_fastopen_blackhole_timeout_sec = 0
net.ipv4.tcp_fastopen_key=$(</proc/sys/kernel/random/uuid)
Disabled by default since it an advanced performance tweak unlikely to
be needed by most servers.
Diffstat (limited to 'teal-src/util/smqueue.tl')
0 files changed, 0 insertions, 0 deletions