On 2024/03/06 09:35, Haojian Zhuang wrote: > sendfile() could be enabled in NGINX(https://www.sobyte.net/post/2022-08/nginx-send/). It could improves the performance since it could optimize to transfer data to user space. Up to now, sendfile() isn’t supported in OpenSSH yet. Will it be supported in the future? OpenSSH doesn't send any files directly between disk and the network so this wouldn't help. It's all encrypted. Plain sendfile isn't very useful in a typical web server either these days, most web traffic is encrypted, running that through a sendfile-like mechanism is much more complicated (needing a kernel TLS implementation). _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev