Software /
code /
prosody
Diff
net/server_epoll.lua @ 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 |
parent | 10846:d0b098d0f6c3 |
child | 10854:472fe13a05f9 |
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");