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

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Oct 7 16:38:31 MSD 2007


Author: sergei
Date: 2007-10-07 16:38:31 +0400 (Sun, 07 Oct 2007)
New Revision: 1258

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


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2007-10-07 12:31:24 UTC (rev 1257)
+++ trunk/tkabber/ChangeLog	2007-10-07 12:38:31 UTC (rev 1258)
@@ -10,6 +10,10 @@
 	* 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.
+
 2007-10-06  Sergei Golovan  <sgolovan at nes.ru>
 
 	* jabberlib-tclxml/: Renamed to jabberlib/ directory.

Modified: trunk/tkabber/plugins/iq/ping.tcl
===================================================================
--- trunk/tkabber/plugins/iq/ping.tcl	2007-10-07 12:31:24 UTC (rev 1257)
+++ trunk/tkabber/plugins/iq/ping.tcl	2007-10-07 12:38:31 UTC (rev 1258)
@@ -90,7 +90,7 @@
     if {$seq < $sequence($connid)} return
 
     if {$res == "TIMEOUT"} {
-	client:reconnect $connid
+	jlib::emergency_disconnect $connid
 	return
     }
 



More information about the Tkabber-dev mailing list