Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
1116-Do-not-trigger-SSL-CLIET-ALERT-when-shutdo...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1116-Do-not-trigger-SSL-CLIET-ALERT-when-shutdown.patch of Package erlang
From b6d0e7224bdde50b6f5cdae8ac1051688c6913f5 Mon Sep 17 00:00:00 2001 From: zmstone <zmstone@gmail.com> Date: Mon, 21 Oct 2024 16:39:30 +0200 Subject: [PATCH 1/2] Do not trigger SSL CLIET ALERT when shutdown --- lib/ssl/src/ssl_gen_statem.erl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/ssl/src/ssl_gen_statem.erl b/lib/ssl/src/ssl_gen_statem.erl index eed0025ad7..03a815fa6f 100644 --- a/lib/ssl/src/ssl_gen_statem.erl +++ b/lib/ssl/src/ssl_gen_statem.erl @@ -1844,11 +1844,12 @@ log_alert(Level, Role, ProtocolName, StateName, Alert) -> statename => StateName, alert => Alert, alerter => peer}, Alert#alert.where). -terminate_alert(normal) -> - ?ALERT_REC(?WARNING, ?CLOSE_NOTIFY); -terminate_alert({Reason, _}) when Reason == close; - Reason == shutdown -> +terminate_alert(Reason) when Reason == normal; + Reason == shutdown; + Reason == close -> ?ALERT_REC(?WARNING, ?CLOSE_NOTIFY); +terminate_alert({Reason, _}) -> + terminate_alert(Reason); terminate_alert(_) -> ?ALERT_REC(?FATAL, ?INTERNAL_ERROR). -- 2.43.0
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