diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-18 16:48:16 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-18 16:48:16 +0200 |
commit | 19db7cfbc7075c3a5e3a1c9971cd53a20452e820 (patch) | |
tree | f0f8c5b8d6352412210526ccb7d274431c28facf /net | |
parent | c5a123ab408b06d82e2cc17e818bd862b8b66876 (diff) | |
download | prosody-19db7cfbc7075c3a5e3a1c9971cd53a20452e820.tar.gz prosody-19db7cfbc7075c3a5e3a1c9971cd53a20452e820.zip |
net.server_epoll: Return status from starttls method
Diffstat (limited to 'net')
-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; |