firetrap icon indicating copy to clipboard operation
firetrap copied to clipboard

Use `sendfile` (2) where available

Open koenw opened this issue 7 years ago • 0 comments

By using the sendfile() system call we can avoid a copy of the data through user space when sending and receiving files, which will be a lot faster and more light weight.

I want to see if we can setup testing on Windows in Travis (for example) first, just to be sure we won't depend on sendfile() being there.

koenw avatar Dec 06 '18 13:12 koenw