Network.Sendfile
Description
Cross platform library for the sendfile system call. This library tries to call minimum system calls which are the bottleneck of web servers.
Documentation
sendfile :: Socket -> FilePath -> FileRange -> IO () -> IO ()
Sendfile emulation using enumerator.
- Used system calls: open(), stat(), read(), send() and close().
data FileRange
File range for sendfile
.
Constructors
EntireFile | |
PartOfFile | |
Fields
|