diff options
author | Ingela Anderton Andin <[email protected]> | 2019-04-01 09:28:27 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-04-01 09:28:27 +0200 |
commit | 21244ed800dcad2436c7b0c605f9173a376ac789 (patch) | |
tree | e13f2913cde61d3544fe9a36871427d53976c45a /lib/ssl | |
parent | a83c0c85d9c566112701a8304a317e06322b9566 (diff) | |
parent | 07df73368d17795c6ee6ce9ad67a0d26322ef58f (diff) | |
download | otp-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/ssl')
-rw-r--r-- | lib/ssl/src/tls_connection.erl | 4 |
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). |