Comparison

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
comparison
equal deleted inserted replaced
10648:2bd17e043275 10649:228277be4a28
579 elseif err == "wantwrite" then 579 elseif err == "wantwrite" then
580 self:noise("TLS handshake to wait until writable"); 580 self:noise("TLS handshake to wait until writable");
581 self:set(false, true); 581 self:set(false, true);
582 self:setwritetimeout(cfg.ssl_handshake_timeout); 582 self:setwritetimeout(cfg.ssl_handshake_timeout);
583 else 583 else
584 self:error("TLS handshake error: %s", err); 584 self:debug("TLS handshake error: %s", err);
585 self:on("disconnect", err); 585 self:on("disconnect", err);
586 self:destroy(); 586 self:destroy();
587 end 587 end
588 end 588 end
589 589