diff options
-rw-r--r-- | net/server_epoll.lua | 1 |
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; |