Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug where sendfile will fail with EINVAL
Not all Unix's come with the same implementation of sendfile. This change attempts it, but if it fails it does normal sys read and write. Sendfile is way faster than sys read and write, so it is worth attempting
- Loading branch information