diff options
-rw-r--r-- | Lib/SocketServer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py index 64a86d1..cf8a365 100644 --- a/Lib/SocketServer.py +++ b/Lib/SocketServer.py @@ -396,6 +396,8 @@ class StreamRequestHandler(BaseRequestHandler): def finish(self): self.wfile.flush() + self.wfile.close() + self.rfile.close() class DatagramRequestHandler(BaseRequestHandler): |