aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-02-15 16:43:18 +0100
committerKim Alvefur <zash@zash.se>2020-02-15 16:43:18 +0100
commit61b6b340b1fb3c3bfc01e3cb22058cc8a2c52064 (patch)
treebcbaffbdbb4a9b9485426dc55b3e8166227e1df3 /net
parent798995ef1a78548aae4c76290064da064494acf4 (diff)
downloadprosody-61b6b340b1fb3c3bfc01e3cb22058cc8a2c52064.tar.gz
prosody-61b6b340b1fb3c3bfc01e3cb22058cc8a2c52064.zip
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.
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index fa247191..b281d463 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -581,7 +581,7 @@ function interface:tlshandskake()
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