[issue35179] Limit max sendfile chunk to 0x7ffff000
Giampaolo Rodola'
report at bugs.python.org
Tue Nov 6 15:59:54 EST 2018
Giampaolo Rodola' <g.rodola at gmail.com> added the comment:
Do you mean raising an exception if "count" argument is passed and > 2,147,479,552? In that case I think asyncio's sendfile() should simply do the math to transmit that many bytes by taking into account that os.sendfile() may return less bytes than requested. With non-blocking sockets in particular that is true regardless from the size being passed.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35179>
_______________________________________
More information about the Python-bugs-list
mailing list