mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 22:57:38 +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
|
if not conn then
|
||||||
self:on("disconnect", err);
|
self:on("disconnect", err);
|
||||||
self:destroy();
|
self:destroy();
|
||||||
|
return conn, err;
|
||||||
end
|
end
|
||||||
conn:settimeout(0);
|
conn:settimeout(0);
|
||||||
self.conn = conn;
|
self.conn = conn;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue