summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorBill Janssen <janssen@parc.com>2008-06-29 00:08:12 (GMT)
committerBill Janssen <janssen@parc.com>2008-06-29 00:08:12 (GMT)
commit2f5799b7b07196504186dad98d8528657981ac6a (patch)
treea925d8cb90e02139d66f360438203f7b79802c97 /Lib/test/test_ssl.py
parent980f3149a2485d9d96cf715af88c8aa51ba63d7f (diff)
downloadcpython-2f5799b7b07196504186dad98d8528657981ac6a.zip
cpython-2f5799b7b07196504186dad98d8528657981ac6a.tar.gz
cpython-2f5799b7b07196504186dad98d8528657981ac6a.tar.bz2
close asyncore.dispatcher on EOF
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 9341bf9..52c392c 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)