From: Eric S. Raymond Date: Mon, 27 Aug 2012 13:22:08 +0000 (-0400) Subject: Yes, multichannel with reuse is working. X-Git-Tag: 1.0~94 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5608f275f4f347bca6257cb5b18f19acfdc72385;p=irker.git Yes, multichannel with reuse is working. --- diff --git a/irker.py b/irker.py index fe94cff..0b2373b 100755 --- 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."