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:
Emil Engler via curl-library wrote:
> Hello curl-library,
> I recently thought about implementing the syscall sendfile(2) into
> libcurl to speed up downloads to a file. For those of you who don't
> know what it is:
"downloads to a file"? Meaning socket => regular file?
I hope I understand you
On Thu, 25 Feb 2021, Emil Engler via curl-library wrote:
I recently thought about implementing the syscall sendfile(2) into
libcurl to speed up downloads to a file.
An interesting idea, but one full of caveats.
sendfile would only work (effectively) for clear-text downloads using TCP (ie
> Am 25.02.2021 um 12:10 schrieb Emil Engler via curl-library
> :
> (maybe even macOS as it inherited a lot from FreeBSD).
From the man page:
The sendfile() system call first appeared in Darwin 9.0 (Mac OS X version 10.5)
.
Sincerely
Christian
Hello curl-library,
I recently thought about implementing the syscall sendfile(2) into
libcurl to speed up downloads to a file. For those of you who don't
know what it is:
sendfile() copies data between one file descriptor and another.
Because this copying is done within the kernel, sendfile() is
On Thu, 25 Feb 2021, Nir Azkiel via curl-library wrote:
After reading more about it, it looks like libcurl is using deprecated
functions like SSL_Close for example (Deprecated at OSX 10.13)
Is there a way to make it work with 10.13 version?
It might be deprecated, although that's the first
On Thu, Feb 25, 2021, 16:24 Nir Azkiel wrote:
> Sorry for the top post,
>
> I hope this way is OK now (without the earlier posts).
>
>
>
> You helped a lot !!
>
> I didn't knew that gcc was sensitive about lib order.
>
> So now it works on Linux and macOs fail.
>
>
>
> I activated this flag
Sorry for the top post,
I hope this way is OK now (without the earlier posts).
You helped a lot !!
I didn't knew that gcc was sensitive about lib order.
So now it works on Linux and macOs fail.
I activated this flag CMAKE_USE_SECTRANSP=ON
but I get linkage errors ., should I link a