# HG changeset patch # User morrowa # Date 1245786400 25200 # Node ID e9f209a24d53ba1082d5050cae287698edaeea8e # Parent d2e6fb7192ac3ef8eb65e983de4bab4d332d3aba Connections opened by listeners now close correctly. diff -r d2e6fb7192ac -r e9f209a24d53 Python/BLIP.py --- a/Python/BLIP.py Tue Jun 23 11:55:50 2009 -0700 +++ b/Python/BLIP.py Tue Jun 23 12:46:40 2009 -0700 @@ -361,6 +361,7 @@ self.status = kClosed else: self.status = kDisconnected + asyncore.dispatcher.close(self) ### MESSAGE CLASSES: diff -r d2e6fb7192ac -r e9f209a24d53 Python/CloseTestPing.py --- a/Python/CloseTestPing.py Tue Jun 23 11:55:50 2009 -0700 +++ b/Python/CloseTestPing.py Tue Jun 23 12:46:40 2009 -0700 @@ -24,7 +24,7 @@ req.response.onComplete = self.handleResponse req.send() - asyncore.loop(timeout=1, count=5) + asyncore.loop(timeout=0, count=5) self.connection.close()