Author: titmuss
Date: Thu Jan 17 08:50:26 2008
New Revision: 1487
URL: http://svn.slimdevices.com?rev=1487&root=Jive&view=rev
Log:
Bug: N/A
Description:
Fix race condition during comet handshake, don't start the handshake again if
one is
already in progress.
Modified:
trunk/jive/src/pkg/jive/share/jive/net/Comet.lua
Modified: trunk/jive/src/pkg/jive/share/jive/net/Comet.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/jive/net/Comet.lua?rev=1487&root=Jive&r1=1486&r2=1487&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/jive/net/Comet.lua (original)
+++ trunk/jive/src/pkg/jive/share/jive/net/Comet.lua Thu Jan 17 08:50:26 2008
@@ -142,8 +142,12 @@
local _reconnect
local _active
+
+-- FIXME add timer to make sure handshake and disconnect complete
+
+
function start(self)
- if self.active ~= "connected" then
+ if self.active ~= "connected" and self.active ~= "handshake" then
-- Begin handshake
_handshake(self)
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins