diff options
author | Ingela Anderton Andin <[email protected]> | 2016-12-06 09:03:44 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-12-06 09:03:44 +0100 |
commit | ba9f5c79c77806c199d2bd839c0c19e9da3cdeec (patch) | |
tree | fadc056dcce0587ea9c8fb414a526f0c096bb9e3 /lib/ssl/src/dtls_connection.hrl | |
parent | 57e0fb97e74c48c502b2eb35990abf4396e04b52 (diff) | |
parent | b91e7498e625b4e6419238f753c30b509fb958d2 (diff) | |
download | otp-ba9f5c79c77806c199d2bd839c0c19e9da3cdeec.tar.gz otp-ba9f5c79c77806c199d2bd839c0c19e9da3cdeec.tar.bz2 otp-ba9f5c79c77806c199d2bd839c0c19e9da3cdeec.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src/dtls_connection.hrl')
-rw-r--r-- | lib/ssl/src/dtls_connection.hrl | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/lib/ssl/src/dtls_connection.hrl b/lib/ssl/src/dtls_connection.hrl index ee3daa3c14..3dd78235d0 100644 --- a/lib/ssl/src/dtls_connection.hrl +++ b/lib/ssl/src/dtls_connection.hrl @@ -29,20 +29,14 @@ -include("ssl_connection.hrl"). -record(protocol_buffers, { - dtls_packets = [], %%::[binary()], % Not yet handled decode ssl/tls packets. - dtls_record_buffer = <<>>, %%:: binary(), % Buffer of incomplete records - dtls_fragment_state, %%:: [], % DTLS fragments - dtls_handshake_buffer = <<>>, %%:: binary(), % Buffer of incomplete handshakes - dtls_cipher_texts = [], %%:: [binary()], - dtls_cipher_texts_next %%:: [binary()] % Received for Epoch not yet active + dtls_record_buffer = <<>>, %% Buffer of incomplete records + dtls_handshake_next_seq = 0, + dtls_flight_last, + dtls_handshake_next_fragments = [], %% Fragments of the next handshake message + dtls_handshake_later_fragments = [], %% Fragments of handsake messages come after the one in next buffer + dtls_cipher_texts = [] %%:: [binary()], }). --record(flight, { - last_retransmit, - last_read_seq, - msl_timer, - state, - buffer % buffer of not yet ACKed TLS records - }). +-define(INITIAL_RETRANSMIT_TIMEOUT, 1000). %1 sec -endif. % -ifdef(dtls_connection). |