aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-04-01 09:28:27 +0200
committerIngela Anderton Andin <[email protected]>2019-04-01 09:28:27 +0200
commit21244ed800dcad2436c7b0c605f9173a376ac789 (patch)
treee13f2913cde61d3544fe9a36871427d53976c45a /lib
parenta83c0c85d9c566112701a8304a317e06322b9566 (diff)
parent07df73368d17795c6ee6ce9ad67a0d26322ef58f (diff)
downloadotp-21244ed800dcad2436c7b0c605f9173a376ac789.tar.gz
otp-21244ed800dcad2436c7b0c605f9173a376ac789.tar.bz2
otp-21244ed800dcad2436c7b0c605f9173a376ac789.zip
Merge branch 'ingela/ssl/shutdown-reason/ERL-893/OTP-15710'
* ingela/ssl/shutdown-reason/ERL-893/OTP-15710: ssl: Add missing tuple in shutdown reason
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/tls_connection.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index fde73cdef1..a05858221a 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -934,7 +934,7 @@ wait_sh(Type, Event, State) ->
callback_mode() ->
state_functions.
-terminate({shutdown, sender_died, Reason}, _StateName,
+terminate({shutdown, {sender_died, Reason}}, _StateName,
#state{static_env = #static_env{socket = Socket,
transport_cb = Transport}}
= State) ->
@@ -1119,7 +1119,7 @@ handle_info({CloseTag, Socket}, StateName,
end;
handle_info({'EXIT', Sender, Reason}, _,
#state{protocol_specific = #{sender := Sender}} = State) ->
- {stop, {shutdown, sender_died, Reason}, State};
+ {stop, {shutdown, {sender_died, Reason}}, State};
handle_info(Msg, StateName, State) ->
ssl_connection:StateName(info, Msg, State, ?MODULE).