Changeset

10846:d0b098d0f6c3

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
author Kim Alvefur <zash@zash.se>
date Fri, 22 May 2020 15:20:19 +0200
parents 10845:785fa0112411
children 10847:42c8dce6e765
files net/server_epoll.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_epoll.lua	Sat May 16 20:46:12 2020 +0200
+++ b/net/server_epoll.lua	Fri May 22 15:20:19 2020 +0200
@@ -559,6 +559,7 @@
 		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();