Kim Alvefur <zash@zash.se> [Fri, 11 Feb 2022 16:09:42 +0100] rev 12522
mod_smacks: Factor out some convenience functions
Those lines are long and the risk of mistakes if another one needs to be
added seems high, but lower when factored out like this.
Kim Alvefur <zash@zash.se> [Tue, 17 May 2022 17:06:36 +0200] rev 12521
util.stanza: Document top level attributes in Teal definition
Tells you if you make a typo like "gropchat" or so
Kim Alvefur <zash@zash.se> [Tue, 17 May 2022 17:05:15 +0200] rev 12520
util.stanza: Document error conditions in Teal definition
Gets you nice error messages if you make a typo in with error_reply()
Kim Alvefur <zash@zash.se> [Sun, 15 May 2022 22:41:17 +0200] rev 12519
net.server_epoll: Add option to defer accept() until data available
This is a Linux(?) socket option that delays the accept signal until
there is data available to read. E.g. with HTTP this might mean that a
whole request can be handled without going back trough another turn of
the main loop, and an initial client <stream> can be responded to.
This may have effects on latency and resource use, as the server does
not need to allocate resources until really needed.
Kim Alvefur <zash@zash.se> [Fri, 16 Jul 2021 00:57:42 +0200] rev 12518
net.server_epoll: Wrap LuaSocket object earlier to reuse option setting method
Since it provides some protection and error handling in the form of
logging.
Kim Alvefur <zash@zash.se> [Fri, 16 Jul 2021 00:56:45 +0200] rev 12517
net.server_epoll: Move call to refresh remote IP address out of wrapper
Reduces the side effects of wrapsocket()
Kim Alvefur <zash@zash.se> [Thu, 08 Jul 2021 12:29:50 +0200] rev 12516
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.
Kim Alvefur <zash@zash.se> [Mon, 16 May 2022 14:51:58 +0200] rev 12515
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Mon, 16 May 2022 14:51:01 +0200] rev 12514
net.unbound: Adjust log level of error to error to error
This error is an error, therefore it should be at the error level
Kim Alvefur <zash@zash.se> [Mon, 16 May 2022 12:45:51 +0200] rev 12513
net.unbound: Disable use of hosts file by default (fixes #1737)
This mirrors the behaviour with net.dns and avoids the initialization
issue in #1737