mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
In python, `count` in `sendfile` doesn't include nbytes in headers or trailers. But in `nix::sys::sendfile::sendfile` does. From nix doc, ``` If any headers are specified and `count` is non-zero, the length of the headers will be counted in the limit of total bytes sent. ```