diff options
author | Henrik Nord <[email protected]> | 2015-10-14 12:42:02 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2015-10-14 12:42:02 +0200 |
commit | 930a0cb98e8a3cc08c70d93472b35d9fdb1dd2f9 (patch) | |
tree | 0917e3e56e3e24a5a45bd1afb61c6ea69ec0be2d /lib/ssh/src/ssh.erl | |
parent | 3c787f47ffc660d77eba3528b10eba570529fb9e (diff) | |
parent | 3c799a7ee5ee26f643c7ffad79c81d6156f3dac6 (diff) | |
download | otp-930a0cb98e8a3cc08c70d93472b35d9fdb1dd2f9.tar.gz otp-930a0cb98e8a3cc08c70d93472b35d9fdb1dd2f9.tar.bz2 otp-930a0cb98e8a3cc08c70d93472b35d9fdb1dd2f9.zip |
Merge branch 'maint-18' into maint
Conflicts:
lib/ssh/vsn.mk
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r-- | lib/ssh/src/ssh.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl index 15591fb4a7..b6ee29efbb 100644 --- a/lib/ssh/src/ssh.erl +++ b/lib/ssh/src/ssh.erl @@ -385,6 +385,8 @@ handle_option([{rekey_limit, _} = Opt|Rest], SocketOptions, SshOptions) -> handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); handle_option([{max_sessions, _} = Opt|Rest], SocketOptions, SshOptions) -> handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); +handle_option([{max_channels, _} = Opt|Rest], SocketOptions, SshOptions) -> + handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); handle_option([{negotiation_timeout, _} = Opt|Rest], SocketOptions, SshOptions) -> handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); handle_option([{parallel_login, _} = Opt|Rest], SocketOptions, SshOptions) -> @@ -443,6 +445,8 @@ handle_ssh_option({connect_timeout, Value} = Opt) when is_integer(Value); Value Opt; handle_ssh_option({max_sessions, Value} = Opt) when is_integer(Value), Value>0 -> Opt; +handle_ssh_option({max_channels, Value} = Opt) when is_integer(Value), Value>0 -> + Opt; handle_ssh_option({negotiation_timeout, Value} = Opt) when is_integer(Value); Value == infinity -> Opt; handle_ssh_option({parallel_login, Value} = Opt) when Value==true ; Value==false -> |