Explicitly close rfile and wfile in StreamRequestHandler.finish() --
mostly for jpython.
This commit is contained in:
parent
a90c78b918
commit
1d5102cac1
|
@ -396,6 +396,8 @@ class StreamRequestHandler(BaseRequestHandler):
|
||||||
|
|
||||||
def finish(self):
|
def finish(self):
|
||||||
self.wfile.flush()
|
self.wfile.flush()
|
||||||
|
self.wfile.close()
|
||||||
|
self.rfile.close()
|
||||||
|
|
||||||
|
|
||||||
class DatagramRequestHandler(BaseRequestHandler):
|
class DatagramRequestHandler(BaseRequestHandler):
|
||||||
|
|
Loading…
Reference in New Issue