Connections opened by listeners now close correctly.
1.1 --- a/Python/BLIP.py Tue Jun 23 11:55:50 2009 -0700
1.2 +++ b/Python/BLIP.py Tue Jun 23 12:46:40 2009 -0700
1.3 @@ -361,6 +361,7 @@
1.4 self.status = kClosed
1.5 else:
1.6 self.status = kDisconnected
1.7 + asyncore.dispatcher.close(self)
1.8
1.9
1.10 ### MESSAGE CLASSES:
2.1 --- a/Python/CloseTestPing.py Tue Jun 23 11:55:50 2009 -0700
2.2 +++ b/Python/CloseTestPing.py Tue Jun 23 12:46:40 2009 -0700
2.3 @@ -24,7 +24,7 @@
2.4 req.response.onComplete = self.handleResponse
2.5 req.send()
2.6
2.7 - asyncore.loop(timeout=1, count=5)
2.8 + asyncore.loop(timeout=0, count=5)
2.9
2.10 self.connection.close()
2.11