aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-22 03:55:48 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-22 03:55:48 +0000
commite2d6a0c9c733449be39f5d728b4122eed428d766 (patch)
treefe5c4f628b3c66f7f6ac13214514a8b8cf41760d /net
parente6249e1a9e5f4e1cf2cc36d46402d4a529982cd0 (diff)
downloadprosody-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')
-rw-r--r--net/server_event.lua1
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