This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author anacrolix
Recipients anacrolix, giampaolo.rodola, loewis, pitrou, rosslagerwall
Date 2011-01-29.02:23:48
SpamBayes Score 0.00082013744
Marked as misclassified No
Message-id <1296267829.99.0.129434551457.issue10882@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for catching that:

Presently  (Linux  2.6.9):  in_fd, must correspond to a file which sup‐
       ports mmap(2)-like operations (i.e., it cannot be a socket); and out_fd
       must refer to a socket.

Despite the fact the manpage hasn't changed since 2004, sendfile still only works for sockets. :(
History
Date User Action Args
2011-01-29 02:23:50anacrolixsetrecipients: + anacrolix, loewis, pitrou, giampaolo.rodola, rosslagerwall
2011-01-29 02:23:49anacrolixsetmessageid: <1296267829.99.0.129434551457.issue10882@psf.upfronthosting.co.za>
2011-01-29 02:23:49anacrolixlinkissue10882 messages
2011-01-29 02:23:48anacrolixcreate