[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

Bruce Merry report at bugs.python.org
Wed Jul 28 10:15:45 EDT 2021


Bruce Merry <bmerry at gmail.com> added the comment:

This fix is going to cause a regression of bpo-36050. Would it not be possible to fix this in _ssl.c (by breaking a large read into multiple smaller calls to SSL_read)? It seems like fixing this at the SSL layer is more appropriate than trying to work around it at the HTTP layer, and thus impacting the performance of all HTTP fetches (whether using TLS or not, and whether >2GB or not).

----------
nosy: +bmerry

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42853>
_______________________________________


More information about the Python-bugs-list mailing list