diff options
author | Péter Dimitrov <[email protected]> | 2019-02-15 09:19:11 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2019-02-22 09:08:45 +0100 |
commit | a7a19b03bfde9b44e23c199af5d3ecdf1f9ab996 (patch) | |
tree | 686e09ecc79c76434f26b1e323eec1b1972d3370 /lib/ssl/src/tls_sender.erl | |
parent | 6cfe2e6b8cff310a6a87cea2d6366457c9e8b415 (diff) | |
download | otp-a7a19b03bfde9b44e23c199af5d3ecdf1f9ab996.tar.gz otp-a7a19b03bfde9b44e23c199af5d3ecdf1f9ab996.tar.bz2 otp-a7a19b03bfde9b44e23c199af5d3ecdf1f9ab996.zip |
ssl: Add debug logging for DTLS
Change-Id: I4858972053436b05b83d72c552974fc9da3843d4
Diffstat (limited to 'lib/ssl/src/tls_sender.erl')
-rw-r--r-- | lib/ssl/src/tls_sender.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/src/tls_sender.erl b/lib/ssl/src/tls_sender.erl index ba73eddf0b..d0604565e3 100644 --- a/lib/ssl/src/tls_sender.erl +++ b/lib/ssl/src/tls_sender.erl @@ -415,7 +415,7 @@ send_tls_alert(#alert{} = Alert, {BinMsg, ConnectionStates} = tls_record:encode_alert_record(Alert, Version, ConnectionStates0), tls_socket:send(Transport, Socket, BinMsg), - ssl_logger:debug(LogLevel, outbound, 'tls_record', BinMsg), + ssl_logger:debug(LogLevel, outbound, 'record', BinMsg), StateData0#data{connection_states = ConnectionStates}. send_application_data(Data, From, StateName, @@ -437,12 +437,12 @@ send_application_data(Data, From, StateName, StateData = StateData0#data{connection_states = ConnectionStates}, case tls_socket:send(Transport, Socket, Msgs) of ok when DistHandle =/= undefined -> - ssl_logger:debug(LogLevel, outbound, 'tls_record', Msgs), + ssl_logger:debug(LogLevel, outbound, 'record', Msgs), {next_state, StateName, StateData, []}; Reason when DistHandle =/= undefined -> {next_state, death_row, StateData, [{state_timeout, 5000, Reason}]}; ok -> - ssl_logger:debug(LogLevel, outbound, 'tls_record', Msgs), + ssl_logger:debug(LogLevel, outbound, 'record', Msgs), {next_state, StateName, StateData, [{reply, From, ok}]}; Result -> {next_state, StateName, StateData, [{reply, From, Result}]} |