]> granicus.if.org Git - python/commitdiff
close asyncore.dispatcher on EOF
authorBill Janssen <janssen@parc.com>
Sun, 29 Jun 2008 00:08:12 +0000 (00:08 +0000)
committerBill Janssen <janssen@parc.com>
Sun, 29 Jun 2008 00:08:12 +0000 (00:08 +0000)
Lib/test/test_ssl.py

index 9341bf90f07fcd348442b1e99727fee116baf2ad..52c392c58c0b6bcde0af6c54299fe3c88a035219 100644 (file)
@@ -529,6 +529,7 @@ else:
                         self.send(str(data, 'ASCII', 'strict').lower().encode('ASCII', 'strict'))
 
                 def handle_close(self):
+                    self.close()
                     if support.verbose:
                         sys.stdout.write(" server:  closed connection %s\n" % self.socket)