diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-22 15:20:19 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-22 15:20:19 +0200 |
commit | 9aac893a7a1ae0bc0ed2b67b278149bae0316b18 (patch) | |
tree | 67ce0e94118a4b3eab1414b58fc63bc585bdad86 | |
parent | 9c0f2a5d5a4a52c8e9cd7c84654243f87a9451ad (diff) | |
download | prosody-9aac893a7a1ae0bc0ed2b67b278149bae0316b18.tar.gz prosody-9aac893a7a1ae0bc0ed2b67b278149bae0316b18.zip |
net.server_epoll: Log some noise before TLS handshake step
This would help pinpoint if a crash happens during the handshake, which
has occurred a few times, e.g. like https://github.com/brunoos/luasec/issues/75
-rw-r--r-- | net/server_epoll.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index b281d463..632958ba 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -559,6 +559,7 @@ function interface:tlshandskake() self.onreadable = interface.tlshandskake; return self:init(); end + self:noise("Continuing TLS handshake"); local ok, err = self.conn:dohandshake(); if ok then local info = self.conn.info and self.conn:info(); |