sendfile()

Tuncer Ayaz <>
Sun Sep 12 02:00:38 CEST 2010


Originally suggested by Miguel Barreiro in the following thread
http://www.erlang.org/pipermail/erlang-patches/2003-November/000068.html

The code found in this patch is based on that and
http://github.com/tuncer/sendfile which itself is based on the driver
found in Yaws.

Windows support could be emulated with TransmitFile() but is not
implemented yet.

Only Linux and Darwin support has been tested. FreeBSD and Solaris
should also work.

This is a draft patch and I've added inline code comments (prefixed as
TODO items) where I saw potential for discussion.

git fetch git://github.com/tuncer/otp.git sendfile


More information about the erlang-patches mailing list