mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
net.server_epoll: Return status from starttls method
This commit is contained in:
parent
e7e49c4d02
commit
a0d0705978
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue