[issue10882] Add os.sendfile()
Ross Lagerwall
report at bugs.python.org
Sat Jan 29 05:59:35 CET 2011
Ross Lagerwall <rosslagerwall at gmail.com> added the comment:
OK, updated documentation and tests.
> Why special case these? Why can't Mac OS X and FreeBSD write those manually into the output file descriptor.
These can be a crucial part of certain protocols such as HTTP to ensure that a minimal amount of TCP packets are sent. Also, the posix module is supposed to expose the OS functionality transparently. Besides, if you don't want to use headers/trailers, they can simply be left out.
----------
Added file: http://bugs.python.org/file20597/sendfile_v5.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10882>
_______________________________________
More information about the Python-bugs-list
mailing list