Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0451-ssh-Fix-strange-code.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0451-ssh-Fix-strange-code.patch of Package erlang
From 051bc3a8b2d9a0ceafb4361ecf15cdb1ae427fac Mon Sep 17 00:00:00 2001 From: Hans Nilsson <hans@erlang.org> Date: Mon, 1 Mar 2021 09:48:55 +0100 Subject: [PATCH 1/5] ssh: Fix strange code --- lib/ssh/src/ssh_connection_handler.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl index 9618bde3b9..6eee333a4f 100644 --- a/lib/ssh/src/ssh_connection_handler.erl +++ b/lib/ssh/src/ssh_connection_handler.erl @@ -869,7 +869,9 @@ handle_event(cast, {reply_request,Resp,ChannelId}, StateName, D) when ?CONNECTED #channel{} -> Details = io_lib:format("Unhandled reply in state ~p:~n~p", [StateName,Resp]), - ?send_disconnect(?SSH_DISCONNECT_PROTOCOL_ERROR, Details, StateName, D); + {_Shutdown, D1} = + ?send_disconnect(?SSH_DISCONNECT_PROTOCOL_ERROR, Details, StateName, D), + {keep_state, D1}; undefined -> keep_state_and_data -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor