mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
net.server_epoll: Fix typo in internal method name
This commit is contained in:
parent
a166ab719c
commit
9783208ba5
1 changed files with 5 additions and 5 deletions
|
@ -519,14 +519,14 @@ function interface:starttls(tls_ctx)
|
|||
if self.ondrain == interface.starttls then
|
||||
self.ondrain = nil;
|
||||
end
|
||||
self.onwritable = interface.tlshandskake;
|
||||
self.onreadable = interface.tlshandskake;
|
||||
self.onwritable = interface.tlshandshake;
|
||||
self.onreadable = interface.tlshandshake;
|
||||
self:set(true, true);
|
||||
self:debug("Prepared to start TLS");
|
||||
end
|
||||
end
|
||||
|
||||
function interface:tlshandskake()
|
||||
function interface:tlshandshake()
|
||||
self:setwritetimeout(false);
|
||||
self:setreadtimeout(false);
|
||||
if not self._tls then
|
||||
|
@ -555,8 +555,8 @@ function interface:tlshandskake()
|
|||
end
|
||||
self:on("starttls");
|
||||
self.ondrain = nil;
|
||||
self.onwritable = interface.tlshandskake;
|
||||
self.onreadable = interface.tlshandskake;
|
||||
self.onwritable = interface.tlshandshake;
|
||||
self.onreadable = interface.tlshandshake;
|
||||
return self:init();
|
||||
end
|
||||
self:noise("Continuing TLS handshake");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue