Multichannel operation.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 26 Aug 2012 17:58:30 +0000 (13:58 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 26 Aug 2012 17:58:30 +0000 (13:58 -0400)
irker.py

index 450b738c835d8f4a19142e8690614ebd590d9259..08764129abb2101009f69077bce2e9f5f9c4203e 100755 (executable)
--- a/irker.py
+++ b/irker.py
@@ -128,7 +128,8 @@ class Irker:
 
 class MyTCPHandler(SocketServer.StreamRequestHandler):
     def handle(self):
-        irker.handle(self.rfile.readline().strip())
+        while True:
+            irker.handle(self.rfile.readline().strip())
 
 if __name__ == '__main__':
     host = HOST