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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17552>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to