From: Bill Janssen Date: Sun, 29 Jun 2008 00:08:12 +0000 (+0000) Subject: close asyncore.dispatcher on EOF X-Git-Tag: v3.0b2~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f5799b7b07196504186dad98d8528657981ac6a;p=thirdparty%2FPython%2Fcpython.git close asyncore.dispatcher on EOF --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 9341bf90f07f..52c392c58c0b 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -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)