summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorBill Janssen <janssen@parc.com>2008-06-28 23:00:39 (GMT)
committerBill Janssen <janssen@parc.com>2008-06-28 23:00:39 (GMT)
commitde34d91eb060e8d00dfd071ae10904294eb67157 (patch)
tree2459b3db387e05beb4ae32b2d589eab93828f428 /Lib/test/test_ssl.py
parent934b16d0c2c4dcaa15051e4e7d61543f9f64fa82 (diff)
downloadcpython-de34d91eb060e8d00dfd071ae10904294eb67157.zip
cpython-de34d91eb060e8d00dfd071ae10904294eb67157.tar.gz
cpython-de34d91eb060e8d00dfd071ae10904294eb67157.tar.bz2
make sure we close the active channels when eof is received on them
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 d786154..b05b17e 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -386,6 +386,7 @@ else:
self.send(data.lower())
def handle_close(self):
+ self.close()
if test_support.verbose:
sys.stdout.write(" server: closed connection %s\n" % self.socket)