diff options
author | Ingela Anderton Andin <[email protected]> | 2019-03-29 14:13:19 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-03-29 15:23:42 +0100 |
commit | 07df73368d17795c6ee6ce9ad67a0d26322ef58f (patch) | |
tree | 91cc8044acc8bdfef2d1d4a8d36eaed074f901e0 | |
parent | 77fe4acc29735b15da19d7c991f83bca22417102 (diff) | |
download | otp-07df73368d17795c6ee6ce9ad67a0d26322ef58f.tar.gz otp-07df73368d17795c6ee6ce9ad67a0d26322ef58f.tar.bz2 otp-07df73368d17795c6ee6ce9ad67a0d26322ef58f.zip |
ssl: Add missing tuple in shutdown reason
-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). |