:Status: alpha :Documentation: http://docs.rs/tk-sendfile
A thread pool that can process file requests and send data to the socket with zero copy (using sendfile).
Challenges:
sendfile
is non-blocking when writing to socket, it blocks for
disk access for two cases: initial open()
and for reading file inside
the sendfile()
system call itselfsendfile
operation requires some bookkeepingLicensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.