diff options
author | Hans Nilsson <[email protected]> | 2016-11-09 12:51:57 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-11-11 13:03:02 +0100 |
commit | d1c8c59ec8bcec6758d7a00bed1d23e0907fb3a5 (patch) | |
tree | 30c84d2ce51103a6e194a20669a2a7c7a77579c4 /lib/ssh | |
parent | a19ef3f11f400f5a79a05d06a5176561cd87cff8 (diff) | |
download | otp-d1c8c59ec8bcec6758d7a00bed1d23e0907fb3a5.tar.gz otp-d1c8c59ec8bcec6758d7a00bed1d23e0907fb3a5.tar.bz2 otp-d1c8c59ec8bcec6758d7a00bed1d23e0907fb3a5.zip |
ssh: Change order on next_event actions in ssh_connection_handler
Diffstat (limited to 'lib/ssh')
-rw-r--r-- | lib/ssh/src/ssh_connection_handler.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl index dd414894d4..e7c52f345e 100644 --- a/lib/ssh/src/ssh_connection_handler.erl +++ b/lib/ssh/src/ssh_connection_handler.erl @@ -1194,12 +1194,12 @@ handle_event(info, {Proto, Sock, NewData}, StateName, D0 = #data{socket = Sock, ssh_message:decode(set_kex_overload_prefix(DecryptedBytes,D)) of Msg = #ssh_msg_kexinit{} -> - {keep_state, D, [{next_event, internal, {Msg,DecryptedBytes}}, - {next_event, internal, prepare_next_packet} + {keep_state, D, [{next_event, internal, prepare_next_packet}, + {next_event, internal, {Msg,DecryptedBytes}} ]}; Msg -> - {keep_state, D, [{next_event, internal, Msg}, - {next_event, internal, prepare_next_packet} + {keep_state, D, [{next_event, internal, prepare_next_packet}, + {next_event, internal, Msg} ]} catch _C:_E -> |