Antoine Pitrou added the comment:

I don't understand why you must put the socket in non-blocking mode for 
sendfile().
Also I think the support code (_use_send() / _use_sendfile()) should be 
factored out somewhere. There could even be a socket.sendfile() method with the 
appropriate fallbacks?

----------

_______________________________________
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