HomePhabricator

Add a NODELAY option

Authored by albaguirre on Mar 20 2018, 5:42 PM.

Description

Add a NODELAY option

Add a new option SSH_OPTIONS_NODELAY to enable or disable the
Nagle Algorithm (TCP_NODELAY) on the session socket.

Improved performance can be achieved for some applications like
sftp servers by enabling SSH_OPTIONS_NODELAY as typically, the
next request won't arrive until the server replies, which are
typically small writes.

Signed-off-by: Alberto Aguirre <albaguirre@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnMar 21 2018, 8:44 PM
Parents
rLIBSSH467d78a442a0: tests: Fix mixed code compiler warning in torture_rand
Branches
Unknown
Tags
Unknown