Software /
code /
prosody
Changeset
2120:93eae69fc121
net.server_event: Set startsslcallback property to nil when we're done handshaking, otherwise we keep trying to repeat the handshake
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Nov 2009 03:55:48 +0000 |
parents | 2119:9fd2782d63f6 |
children | 2121:3a5ed91a9f27 |
files | net/server_event.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Sun Nov 22 03:53:44 2009 +0000 +++ b/net/server_event.lua Sun Nov 22 03:55:48 2009 +0000 @@ -388,6 +388,7 @@ end self._usingssl = true self.startsslcallback = function( ) -- we have to start the handshake outside of a read/write event + self.startsslcallback = nil self:_start_ssl(); self.eventstarthandshake = nil return -1