HomePhabricator

session: Check the session timeout and use it if set

Authored by asn on Nov 20 2018, 9:32 AM.

Description

session: Check the session timeout and use it if set

This checks if a timeout has been set using ssh_options_set(). If it has
been set it will use that parametr by default for blocking sessions.

This is at least what users are expecting.

Fixes T33

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnDec 7 2018, 5:49 PM
Parents
rLIBSSH8ece2abfab35: session: Use long for the timeout
Branches
Unknown
Tags
Unknown
Tasks
T33: SSH_OPTIONS_TIMEOUT not used in non-blocking sockets