mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Merge 13.0->trunk
This commit is contained in:
commit
99a70ea86e
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ function interface:starttls(tls_ctx)
|
|||
self.onreadable = interface.inittls;
|
||||
self:set(true, true);
|
||||
self:setreadtimeout(false);
|
||||
self:setwritetimeout(cfg.ssl_handshake_timeout);
|
||||
self:setwritetimeout(self._connected and cfg.ssl_handshake_timeout or cfg.connect_timeout);
|
||||
self:debug("Prepared to start TLS");
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue