aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/server.lua b/net/server.lua
index 40cc6dc8..3bbe80b4 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -523,6 +523,8 @@ wraptlsclient = function( listener, socket, ip, serverport, clientport, mode, ss
return receive( socket, pattern, prefix )
end
+ handler.starttls = nil;
+
handler.handshake = coroutine_wrap( function( client )
local err
for i = 1, 10 do -- 10 handshake attemps