aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server_epoll.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index f7a7dafa..6bc59662 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -703,6 +703,7 @@ function interface:onacceptable()
if client:inittls(self.tls_ctx) then
client:setreadtimeout(cfg.ssl_handshake_timeout);
client:setwritetimeout(cfg.ssl_handshake_timeout);
+ client:tlshandshake();
end
else
client:add(true, false);