Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
3823-graceful-shutdown-of-ssh_conection_handler...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3823-graceful-shutdown-of-ssh_conection_handler-when-conn.patch of Package erlang
From 6c0df956c7e20c9deebcc94df99debafd38bd2cf Mon Sep 17 00:00:00 2001 From: Anupama Singh <anupamasingh31@gmail.com> Date: Thu, 17 Nov 2022 15:07:31 +0100 Subject: [PATCH] graceful shutdown of ssh_conection_handler when connection is closed by peer --- lib/ssh/src/ssh_connection_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl index 849f4b46d2..10eb5e88b4 100644 --- a/lib/ssh/src/ssh_connection_handler.erl +++ b/lib/ssh/src/ssh_connection_handler.erl @@ -421,7 +421,7 @@ init([Role, Socket, Opts]) when Role==client ; Role==server -> end; {error,Error} -> - {stop, {error,Error}} + {stop, {shutdown,Error}} end. %%%---------------------------------------------------------------- -- 2.35.3
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