Kim Alvefur <zash@zash.se> [Wed, 14 Jul 2021 02:41:15 +0200] rev 11686
mod_s2s: Vary log level by remote stream error
Increases log level for stream conditions that could indicate a problem
on our end, especially programming errors like invalid XML, or the
remote server saying that our certificate is invalid, since these should
be investigated.
Non-issues like closing of idle streams are lowered to debug since it's
mostly noise.
Other issues left at info are mostly about changes to the remote server,
e.g. complete or partial shutdown.
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 23:28:49 +0200] rev 11685
tools/jabberd14sql2prosody: Tweak wording in comments
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 23:27:44 +0200] rev 11684
tools/xep227toprosody: Tweak wording in comments
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 23:27:26 +0200] rev 11683
mod_dialback: Tweak wording in a comment
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 15:04:34 +0200] rev 11682
mod_s2s: Remove connection timeout once it's no longer needed
Reduces the number of left-over timers to handle after many s2s
connections were started, leaving only the ones related to incomplete
connections.
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 14:58:50 +0200] rev 11681
net.server_epoll: Call onconnect immediately after TLS handshake completion
Skips a roundtrip through the main loop in case client-first data is
available already, if not then :onreadable() will set the appropriate
timeout.
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 14:55:21 +0200] rev 11680
net.server_epoll: Refactor immediate TLS handshake start
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 14:51:05 +0200] rev 11679
net.server_epoll: Keep socket registered in epoll trough TLS wrapping
There's the theory that the socket isn't the same before/after wrap(),
but since epoll operates on FD numbers this shouldn't matter.
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 14:27:46 +0200] rev 11678
net.server_epoll: Use TLS handshake timeout after initiating handshake
The :init() method sets a different timeout than the TLS related methods.
Kim Alvefur <zash@zash.se> [Tue, 13 Jul 2021 14:20:26 +0200] rev 11677
net.server_epoll: Start TLS handshake immediately on newly accepted connections
Since TLS is a client-first protocol there is a chance that the
ClientHello message is available already. TLS Fast Open and/or the
TCP_DEFER_ACCEPT socket option would increase that chance.