aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_epoll.lua')
-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 713baa0c..57911db1 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -377,6 +377,7 @@ function interface:starttls(ctx)
if not conn then
self:on("disconnect", err);
self:destroy();
+ return conn, err;
end
conn:settimeout(0);
self.conn = conn;