[issue17552] socket.sendfile()

Giampaolo Rodola' report at bugs.python.org
Fri Apr 25 19:45:56 CEST 2014


Giampaolo Rodola' added the comment:

Given the opinions expressed so far I:
- got rid of the "blocksize" parameter
- got rid of the "use_fallback" parameter
- added a "count" parameter
- used os.fstat() to figure out the total file size and passed it directly to sendfile()

I'm attaching socket-sendfile6.patch which includes docs and many new tests.
Hopefully this should be the final one (yet to review though).

----------
Added file: http://bugs.python.org/file35039/socket-sendfile6.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17552>
_______________________________________


More information about the Python-bugs-list mailing list