diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2016-05-02 10:15:33 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-05-03 10:58:36 +0200 |
commit | a3688ada1a6145429837e5768ced6c2933a53e35 (patch) | |
tree | b75e1dde461bad271eca2e4c6b21917c9b268963 /include/libssh/priv.h | |
parent | 219d0bba42ad95227035728c5cb37b9f51e6a8fa (diff) | |
download | libssh-a3688ada1a6145429837e5768ced6c2933a53e35.tar.gz libssh-a3688ada1a6145429837e5768ced6c2933a53e35.tar.xz libssh-a3688ada1a6145429837e5768ced6c2933a53e35.zip |
client: If SSHv1 is disabled send the banner immediately
This saves a round-trip with SSHv2 connecting to the server. See RFC
4253 section 5.2 (New Client, Old Server).
Thanks to Yang Yubo <yang@yangyubo.com> for the suggestion.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 1da5c94b44ea2610450aacda24d9789859942926)
Diffstat (limited to 'include/libssh/priv.h')
0 files changed, 0 insertions, 0 deletions