Question on supporting sendfile()
Stuart Henderson
stu at spacehopper.org
Wed Mar 6 20:49:01 AEDT 2024
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).
More information about the openssh-unix-dev
mailing list