diff options
author | Péter Dimitrov <[email protected]> | 2018-11-06 09:52:38 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2018-11-06 09:52:38 +0100 |
commit | 3133c980a72d94ed6cca9e4a9929767b1d558028 (patch) | |
tree | d33903b32d710bbe146fa82d6161cebf2a0bd885 /lib/ssl/src/tls_connection.erl | |
parent | c2a3104849583a9e1aa5370873457975bef67296 (diff) | |
download | otp-3133c980a72d94ed6cca9e4a9929767b1d558028.tar.gz otp-3133c980a72d94ed6cca9e4a9929767b1d558028.tar.bz2 otp-3133c980a72d94ed6cca9e4a9929767b1d558028.zip |
ssl: Fix logging in new sender process
Change-Id: I2beb99aab1920d866dcdc91f67fc306fc16e9496
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r-- | lib/ssl/src/tls_connection.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl index f6aa3df28f..29988edf76 100644 --- a/lib/ssl/src/tls_connection.erl +++ b/lib/ssl/src/tls_connection.erl @@ -900,7 +900,8 @@ initialize_tls_sender(#state{role = Role, protocol_cb = Connection, transport_cb = Transport, negotiated_version = Version, - ssl_options = #ssl_options{renegotiate_at = RenegotiateAt}, + ssl_options = #ssl_options{renegotiate_at = RenegotiateAt, + log_level = LogLevel}, connection_states = #{current_write := ConnectionWriteState}, protocol_specific = #{sender := Sender}}) -> Init = #{current_write => ConnectionWriteState, @@ -911,7 +912,8 @@ initialize_tls_sender(#state{role = Role, protocol_cb => Connection, transport_cb => Transport, negotiated_version => Version, - renegotiate_at => RenegotiateAt}, + renegotiate_at => RenegotiateAt, + log_level => LogLevel}, tls_sender:initialize(Sender, Init). next_tls_record(Data, StateName, #state{protocol_buffers = |