firetrap
firetrap copied to clipboard
Use `sendfile` (2) where available
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.