Giampaolo Rodola' added the comment:

It seems you're right, sorry. We need to take that into account then.

In the meantime I rewrote the original patch and got rid of the "use_sendfile" 
explicit argument in order to attempt to use sendfile() by default and fall 
back on using send() if bytes sent were 0.

TSL_FTP related changes are still left out for now as I'm planning a little 
refactoring first.

----------
Added file: http://bugs.python.org/file29336/ftplib-sendfile2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13564>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to