[Tkabber-dev] [tclxmpp commit] r37 - in trunk: . xmpp

codesite-noreply at google.com codesite-noreply at google.com
Sun Oct 19 14:56:39 MSD 2008


Author: sgolovan
Date: Sun Oct 19 03:55:53 2008
New Revision: 37

Modified:
    trunk/ChangeLog
    trunk/xmpp/tcp.tcl
    trunk/xmpp/tls.tcl
    trunk/xmpp/zlib.tcl

Log:
	* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Also, close socket.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Sun Oct 19 03:55:53 2008
@@ -5,7 +5,7 @@

  	* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Clear readable fileevent
  	  script when the socket is closed by the other side. Otherwise it can
-	  be triggered continuously.
+	  be triggered continuously. Also, close socket.

  	* xmpp/xmpp.tcl: Removed unnecessary rescheduling of ForcedDisconnect
  	  call which now can't be executed twice (one time on the end of

Modified: trunk/xmpp/tcp.tcl
==============================================================================
--- trunk/xmpp/tcp.tcl	(original)
+++ trunk/xmpp/tcp.tcl	Sun Oct 19 03:55:53 2008
@@ -434,6 +434,7 @@

      if {[eof $state(sock)]} {
          fileevent $state(sock) readable {}
+        ::close $state(sock)
          InEmpty $state(eofCmd)
      }
  }

Modified: trunk/xmpp/tls.tcl
==============================================================================
--- trunk/xmpp/tls.tcl	(original)
+++ trunk/xmpp/tls.tcl	Sun Oct 19 03:55:53 2008
@@ -533,6 +533,7 @@

      if {[eof $state(sock)]} {
          fileevent $state(sock) readable {}
+        ::close $state(sock)
          InEmpty $state(eofCmd)
      }
  }

Modified: trunk/xmpp/zlib.tcl
==============================================================================
--- trunk/xmpp/zlib.tcl	(original)
+++ trunk/xmpp/zlib.tcl	Sun Oct 19 03:55:53 2008
@@ -476,6 +476,7 @@

      if {[eof $state(sock)]} {
          fileevent $state(sock) readable {}
+        ::close $state(sock)
          InEmpty $state(eofCmd)
      }
  }


More information about the Tkabber-dev mailing list