diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:55:48 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:55:48 +0000 |
commit | e2d6a0c9c733449be39f5d728b4122eed428d766 (patch) | |
tree | fe5c4f628b3c66f7f6ac13214514a8b8cf41760d /net/server_event.lua | |
parent | e6249e1a9e5f4e1cf2cc36d46402d4a529982cd0 (diff) | |
download | prosody-e2d6a0c9c733449be39f5d728b4122eed428d766.tar.gz prosody-e2d6a0c9c733449be39f5d728b4122eed428d766.zip |
net.server_event: Set startsslcallback property to nil when we're done handshaking, otherwise we keep trying to repeat the handshake
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 41c5a02b..50538e05 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -388,6 +388,7 @@ do 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
|