aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-03-29 14:13:19 +0100
committerIngela Anderton Andin <[email protected]>2019-04-30 17:16:17 +0200
commit909e4c4a2de5898e31f08ab1598fd8f238d8cfe8 (patch)
tree8b321c8f7cc78e03bc602a89c099f3544d59f01e /lib/ssl/src
parent68a90eb777b5c1e48c0760337fbf2b0b8a9aa6aa (diff)
downloadotp-909e4c4a2de5898e31f08ab1598fd8f238d8cfe8.tar.gz
otp-909e4c4a2de5898e31f08ab1598fd8f238d8cfe8.tar.bz2
otp-909e4c4a2de5898e31f08ab1598fd8f238d8cfe8.zip
ssl: Add missing tuple in shutdown reason
Diffstat (limited to 'lib/ssl/src')
-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 114710a92e..167a99b418 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -760,7 +760,7 @@ downgrade(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) ->
@@ -939,7 +939,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).