mirror of
https://github.com/python/cpython.git
synced 2026-07-06 01:39:24 -04:00
5a4c4a033a
Reading the whole body of the HTTP response could cause OOM if the Content-Length value is too large even if the server does not send a large amount of data. Now the HTTP client reads large data by chunks, therefore the amount of consumed memory is proportional to the amount of sent data.