Question on supporting sendfile()

Brian Candler b.candler at
Wed Mar 6 20:46:51 AEDT 2024

On 06/03/2024 16:35, Haojian Zhuang wrote:
> sendfile() could be enabled in NGINX(
>   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?

Under what circumstances do you think OpenSSH sends a file from the 
local filesystem directly over a socket, without encrypting or 
decrypting it first?

More information about the openssh-unix-dev mailing list