aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-05-22 15:20:19 +0200
committerKim Alvefur <zash@zash.se>2020-05-22 15:20:19 +0200
commita166ab719cbdcb89e7bdfca6f0c89239c7942f57 (patch)
tree67ce0e94118a4b3eab1414b58fc63bc585bdad86
parent29f51d7e6dd71d1a702410cf24ea59edd7e5afcd (diff)
downloadprosody-a166ab719cbdcb89e7bdfca6f0c89239c7942f57.tar.gz
prosody-a166ab719cbdcb89e7bdfca6f0c89239c7942f57.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.lua1
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();