aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
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 d4a08d3d..d2a1759b 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -698,8 +698,8 @@ function interface:onacceptable()
client:starttls(self.tls_ctx);
else
client:add(true, false);
- client:setreadtimeout();
client:onconnect();
+ client:onreadable();
end
end