Yes, multichannel with reuse is working.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 27 Aug 2012 13:22:08 +0000 (09:22 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 27 Aug 2012 13:22:08 +0000 (09:22 -0400)
irker.py

index fe94cff4d81e82eb37ec0288cbe55e4920629737..0b2373b6100832bdfee2c9a040addd7d64f40873 100755 (executable)
--- a/irker.py
+++ b/irker.py
@@ -136,6 +136,11 @@ class Irker:
                               port,
                               self.nickname(self.servercount))
             self.countmap[(servername, port)] = (1, newserver)
+            self.debug(1, "new server connection %d opened for %s:%s" % \
+                       (self.servercount, servername, port))
+        else:
+            self.debug(1, "reusing server connection for %s:%s" % \
+                       (servername, port))
         return self.countmap[(servername, port)][1]
     def close(self, servername, port):
         "Release a server instance and all sessions using it."