[Tkabber-dev] r1259 - in trunk/tkabber: . plugins/iq

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Oct 7 19:37:45 MSD 2007


Author: sergei
Date: 2007-10-07 19:37:45 +0400 (Sun, 07 Oct 2007)
New Revision: 1259

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/iq/ping.tcl
Log:
	* plugins/iq/ping.tcl: Use jlib::emergency_disconnect (indirectly via
	  jlib::inmsg) for disconnecting/reconnecting after ping timeout. This
	  should fix race condition during reconnect.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2007-10-07 12:38:31 UTC (rev 1258)
+++ trunk/tkabber/ChangeLog	2007-10-07 15:37:45 UTC (rev 1259)
@@ -10,9 +10,9 @@
 	* doc/tkabber.html, doc/tkabber.xml, README: Added info on ctcomp
 	  plugin.
 
-	* plugins/iq/ping.tcl: Use jlib::emergency_disconnect for
-	  disconnecting/reconnecting after ping timeout. This should fix race
-	  condition during reconnect.
+	* plugins/iq/ping.tcl: Use jlib::emergency_disconnect (indirectly via
+	  jlib::inmsg) for disconnecting/reconnecting after ping timeout. This
+	  should fix race condition during reconnect.
 
 2007-10-06  Sergei Golovan  <sgolovan at nes.ru>
 

Modified: trunk/tkabber/plugins/iq/ping.tcl
===================================================================
--- trunk/tkabber/plugins/iq/ping.tcl	2007-10-07 12:38:31 UTC (rev 1258)
+++ trunk/tkabber/plugins/iq/ping.tcl	2007-10-07 15:37:45 UTC (rev 1259)
@@ -90,7 +90,8 @@
     if {$seq < $sequence($connid)} return
 
     if {$res == "TIMEOUT"} {
-	jlib::emergency_disconnect $connid
+	# TODO
+	jlib::inmsg $connid "" 1
 	return
     }
 



More information about the Tkabber-dev mailing list