Software /
code /
prosody
Changeset
10847:42c8dce6e765
net.server_epoll: Fix typo in internal method name
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 22 May 2020 15:36:03 +0200 |
parents | 10846:d0b098d0f6c3 |
children | 10848:7fd8976d47d7 |
files | net/server_epoll.lua |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_epoll.lua Fri May 22 15:20:19 2020 +0200 +++ b/net/server_epoll.lua Fri May 22 15:36:03 2020 +0200 @@ -519,14 +519,14 @@ 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 @@ 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");