Kaydet (Commit) 1d5102ca authored tarafından Guido van Rossum's avatar Guido van Rossum

Explicitly close rfile and wfile in StreamRequestHandler.finish() --

mostly for jpython.
üst a90c78b9
......@@ -396,6 +396,8 @@ class StreamRequestHandler(BaseRequestHandler):
def finish(self):
self.wfile.flush()
self.wfile.close()
self.rfile.close()
class DatagramRequestHandler(BaseRequestHandler):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment