mirror of
https://github.com/python/cpython.git
synced 2026-01-23 15:48:53 +00:00
make sure we close the active channels when eof is received on them
This commit is contained in:
parent
934b16d0c2
commit
de34d91eb0
1 changed files with 1 additions and 0 deletions
|
|
@ -386,6 +386,7 @@ def handle_read(self):
|
|||
self.send(data.lower())
|
||||
|
||||
def handle_close(self):
|
||||
self.close()
|
||||
if test_support.verbose:
|
||||
sys.stdout.write(" server: closed connection %s\n" % self.socket)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue