Fixing quadratic runtime when setting a maxContentLength (#3738)
Fixing quadratic runtime when setting a maxContentLength (#3738)

Previously checking whether a response has exceeded `maxContentLength` was
quadratic with respect to the number of chunks in the response stream and
also caused unnecessary additional memory usage.

Co-authored-by: Jay <4f5661b92532aa65dc137cefa1d321b17b131199@gmail.com>
axios/axios,axios/axios,axios/axios