[issue24291] Many servers (wsgiref, http.server, etc) can truncate large output blobs
Martin Panter
report at bugs.python.org
Sun Jun 5 06:48:19 EDT 2016
Martin Panter added the comment:
Here is an updated patch with the remaining fixes for other servers.
I considered changing the behaviour of shutil.copyfileobj() to handle partial writes better. But I decided against it, because: (a) nobody has complained yet, and (b) it could potentially break stuff, e.g. if fsrc.read() returned a strange kind of object.
----------
Added file: http://bugs.python.org/file43233/wfile-partial.v4.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24291>
_______________________________________
More information about the Python-bugs-list
mailing list