diff options
author | Raimo Niskanen <raimo@erlang.org> | 2017-09-21 16:18:37 +0200 |
---|---|---|
committer | Raimo Niskanen <raimo@erlang.org> | 2017-09-26 17:15:19 +0200 |
commit | 6e28a7909c665cc316d657dda02a2b8655ecc5da (patch) | |
tree | 123de045952f7bc11476d88134771c04e808e248 /lib/ssl/src/tls_connection.erl | |
parent | 275da9e0e7f876ec7c9b9fe3405f1ca40fdbbd17 (diff) | |
download | otp-6e28a7909c665cc316d657dda02a2b8655ecc5da.tar.gz otp-6e28a7909c665cc316d657dda02a2b8655ecc5da.tar.bz2 otp-6e28a7909c665cc316d657dda02a2b8655ecc5da.zip |
Remove ssl_tls_dist_ctrl process
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r-- | lib/ssl/src/tls_connection.erl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl index e3ffbea3d3..1c506fe951 100644 --- a/lib/ssl/src/tls_connection.erl +++ b/lib/ssl/src/tls_connection.erl @@ -65,7 +65,7 @@ %% gen_statem state functions -export([init/3, error/3, downgrade/3, %% Initiation and take down states hello/3, certify/3, cipher/3, abbreviated/3, %% Handshake states - connection/3]). + connection/3, death_row/3]). %% gen_statem callbacks -export([callback_mode/0, terminate/3, code_change/4, format_status/2]). @@ -378,6 +378,13 @@ connection(Type, Event, State) -> ssl_connection:connection(Type, Event, State, ?MODULE). %%-------------------------------------------------------------------- +-spec death_row(gen_statem:event_type(), term(), #state{}) -> + gen_statem:state_function_result(). +%%-------------------------------------------------------------------- +death_row(Type, Event, State) -> + ssl_connection:death_row(Type, Event, State, ?MODULE). + +%%-------------------------------------------------------------------- -spec downgrade(gen_statem:event_type(), term(), #state{}) -> gen_statem:state_function_result(). %%-------------------------------------------------------------------- @@ -435,6 +442,7 @@ handle_info({CloseTag, Socket}, StateName, end; handle_info(Msg, StateName, State) -> ssl_connection:handle_info(Msg, StateName, State). +%%% ssl_connection:StateName(info, Msg, State, ?MODULE). handle_common_event(internal, #alert{} = Alert, StateName, #state{negotiated_version = Version} = State) -> |