diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2005-12-04 15:36:57 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2005-12-04 15:36:57 (GMT) |
commit | e63fde72f397385e09000e243e16eda7e01e3242 (patch) | |
tree | 79a29fce679a714d685f4d8fc68ae424d39c55b7 /Misc | |
parent | 3a97605500919ceeff8c6cd2dd7d352baa1142d8 (diff) | |
download | cpython-e63fde72f397385e09000e243e16eda7e01e3242.zip cpython-e63fde72f397385e09000e243e16eda7e01e3242.tar.gz cpython-e63fde72f397385e09000e243e16eda7e01e3242.tar.bz2 |
[Bug #792570] Under Windows, socket.read() seems to run into trouble when
asked to read tens of megabytes of data. On my Mac, it hits MemoryErrors
when reading around 15Mb in one chunk. The fix is to read the body in several
parts, not as one big piece.
It would be nice to fix the underlying socket.read() problem, too.
2.4 bugfix candidate.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -451,6 +451,9 @@ Library - Bug #1222790: in SimpleXMLRPCServer, set the reuse-address and close-on-exec flags on the HTTP listening socket. +- Bug #792570: SimpleXMLRPCServer had problems if the request grew too large. + Fixed by reading the HTTP body in chunks instead of one big socket.read(). + - Bug #1110478: Revert os.environ.update to do putenv again. - Bug #1103844: fix distutils.install.dump_dirs() with negated options. |