make sure we close the active channels when eof is received on them

This commit is contained in:
Bill Janssen 2008-06-28 23:00:39 +00:00
parent 934b16d0c2
commit de34d91eb0
1 changed files with 1 additions and 0 deletions

View File

@ -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)