Connections opened by listeners now close correctly.
authormorrowa
Tue Jun 23 12:46:40 2009 -0700 (2009-06-23)
changeset 53e9f209a24d53
parent 52 d2e6fb7192ac
child 54 6d1392a3e0a6
Connections opened by listeners now close correctly.
Python/BLIP.py
Python/CloseTestPing.py
     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