Diff

net/server_epoll.lua @ 10649:228277be4a28

net.server_epoll: Reduce log level of TLS handshake errors to debug These are triggered all the time by random HTTPS connections, so they are mostly just useless noise. When you actually do need them, you probably have debug logging enabled too, since these messages are fairly useless without more context.
author Kim Alvefur <zash@zash.se>
date Sat, 15 Feb 2020 16:43:18 +0100
parent 10638:92918212ee83
child 10683:2f0b7f1d5e75
line wrap: on
line diff
--- a/net/server_epoll.lua	Thu Feb 13 23:03:03 2020 +0100
+++ b/net/server_epoll.lua	Sat Feb 15 16:43:18 2020 +0100
@@ -581,7 +581,7 @@
 		self:set(false, true);
 		self:setwritetimeout(cfg.ssl_handshake_timeout);
 	else
-		self:error("TLS handshake error: %s", err);
+		self:debug("TLS handshake error: %s", err);
 		self:on("disconnect", err);
 		self:destroy();
 	end