Matt Joiner <anacro...@gmail.com> added the comment:

I notice Linux is described as not taking count=0 to mean to send until the end 
of "in" is reached. Is it possible to pass (size_t)-1 to this field if None is 
given, or do a loop on non-zero counts from sendfile to emulate this?

I poked around the linux source for 2.6.32, and it appears sendfile() is 
emulated on top of splice(), but this doesn't provide undocumented count=0 
handling as I was hoping.

----------
nosy: +anacrolix

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

Reply via email to