aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-01-29 10:02:22 +0100
committerIngela Anderton Andin <[email protected]>2019-02-08 09:22:25 +0100
commit6d6a624193e319e5f3befdc11fd126e778d1a0e9 (patch)
tree64e5151737b161bff81a9b5fa6ede27a94fd982b /lib/ssl/src/tls_connection.erl
parentf69963a389fa1f933fee0664e8bb453389977b14 (diff)
downloadotp-6d6a624193e319e5f3befdc11fd126e778d1a0e9.tar.gz
otp-6d6a624193e319e5f3befdc11fd126e778d1a0e9.tar.bz2
otp-6d6a624193e319e5f3befdc11fd126e778d1a0e9.zip
ssl: Create connection_env
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r--lib/ssl/src/tls_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index fc9c3ba66a..7c901c882b 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -794,12 +794,12 @@ initial_state(Role, Sender, Host, Port, Socket, {SSLOptions, SocketOptions, Trac
renegotiation = {false, first},
allow_renegotiate = SSLOptions#ssl_options.client_renegotiation
},
+ connection_env = #connection_env{user_application = {UserMonitor, User}},
socket_options = SocketOptions,
ssl_options = SSLOptions,
session = #session{is_resumable = new},
connection_states = ConnectionStates,
protocol_buffers = #protocol_buffers{},
- user_application = {UserMonitor, User},
user_data_buffer = <<>>,
start_or_recv_from = undefined,
flight_buffer = [],