aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_connection_handler.erl
diff options
context:
space:
mode:
authorLouis-Philippe Gauthier <[email protected]>2013-06-20 01:48:31 -0400
committerLouis-Philippe Gauthier <[email protected]>2013-06-20 01:48:31 -0400
commitb22a68377d3026572e7859f712674b319767eb7e (patch)
tree4a55dae19908b683dc865ff30e4c6b240610131b /lib/ssh/src/ssh_connection_handler.erl
parent5dd13b1efead2a8101ff1fb46937fbfa00db5269 (diff)
downloadotp-b22a68377d3026572e7859f712674b319767eb7e.tar.gz
otp-b22a68377d3026572e7859f712674b319767eb7e.tar.bz2
otp-b22a68377d3026572e7859f712674b319767eb7e.zip
Add openssh_zlib compression type to ssh_transport
http://www.openssh.org/txt/draft-miller-secsh-compression-delayed-00.txt
Diffstat (limited to 'lib/ssh/src/ssh_connection_handler.erl')
-rw-r--r--lib/ssh/src/ssh_connection_handler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl
index 1c4477aeb3..d2792727db 100644
--- a/lib/ssh/src/ssh_connection_handler.erl
+++ b/lib/ssh/src/ssh_connection_handler.erl
@@ -426,10 +426,10 @@ userauth(#ssh_msg_userauth_info_response{} = Msg,
language = "en"}, State)
end;
-userauth(#ssh_msg_userauth_success{}, #state{ssh_params = #ssh{role = client},
+userauth(#ssh_msg_userauth_success{}, #state{ssh_params = #ssh{role = client} = Ssh,
manager = Pid} = State) ->
Pid ! ssh_connected,
- {next_state, connected, next_packet(State)};
+ {next_state, connected, next_packet(State#state{ssh_params = Ssh#ssh{authenticated = true}})};
userauth(#ssh_msg_userauth_failure{},
#state{ssh_params = #ssh{role = client,