[erlang-patches] sendfile()
Simon Liu
simohayha.bobo@REDACTED
Mon Feb 21 13:03:01 CET 2011
hi , why not use TCP_CORK(in linux) or TCP_PUSH(in bsd)?
On Sun, Sep 12, 2010 at 8:00 AM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:
> 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
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe@REDACTED
>
>
--
博观约取
豆瓣:www.douban.com/people/mustang/
blog: www.pagefault.info
twitter: www.twitter.com/minibobo
More information about the erlang-patches
mailing list