curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Feature-Request: sendfile(2)

From: Gisle Vanem via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 26 Feb 2021 08:47:55 +0100

Emil Engler wrote:

> However implementing this syscall also raises some problems, including
> limited support. AFAIK only Linux and FreeBSD support this syscall
> (maybe even macOS as it inherited a lot from FreeBSD).

FYI, Windows has a similar 'TransmitFile()' function:
   https://docs.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-transmitfile

-- 
--gv
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-02-26