diff options
author | Simon Cornish <[email protected]> | 2014-10-24 22:58:24 -0700 |
---|---|---|
committer | Simon Cornish <[email protected]> | 2014-10-24 22:58:24 -0700 |
commit | c854951a2bae920f4c1e4fd4073bc2ac69d5a3a9 (patch) | |
tree | 13b87a7f0cf6e419a8e45f6e209df4b67c44a98f /lib/mnesia/doc/src/Mnesia_chap3.xml | |
parent | 8304aeb0114e61e8f694a58cf9e91a00856c3fe5 (diff) | |
download | otp-c854951a2bae920f4c1e4fd4073bc2ac69d5a3a9.tar.gz otp-c854951a2bae920f4c1e4fd4073bc2ac69d5a3a9.tar.bz2 otp-c854951a2bae920f4c1e4fd4073bc2ac69d5a3a9.zip |
Fix ssh_sftp:start_channel timeout
The {timeout, Timeout} option passed to ssh_sftp:start_channel is not
applied to the early phases of the SSH protocol. For example, if the
remote server fails to respond after the "hello" then the call will hang
for as long as the server keeps the TCP connection alive.
This patch passes the Timeout through to ssh:connect. In case the
timeout occurs during these phases, {error, timeout} is returned.
Diffstat (limited to 'lib/mnesia/doc/src/Mnesia_chap3.xml')
0 files changed, 0 insertions, 0 deletions