aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/dtls_connection.hrl
diff options
context:
space:
mode:
authorAndreas Schultz <[email protected]>2016-01-07 15:06:09 +0100
committerIngela Anderton Andin <[email protected]>2016-06-13 22:24:14 +0200
commit5093b28115a674bfa26b06239f2c28981cbf73c2 (patch)
tree4b17bd1da48f8636257ca8c0c060180a2761b793 /lib/ssl/src/dtls_connection.hrl
parent1e967711800a38575f78dd9f82373fa1b39c8f76 (diff)
downloadotp-5093b28115a674bfa26b06239f2c28981cbf73c2.tar.gz
otp-5093b28115a674bfa26b06239f2c28981cbf73c2.tar.bz2
otp-5093b28115a674bfa26b06239f2c28981cbf73c2.zip
dtls: rework/simplify DTLS fragment decoder
changed: * initialize deocder state when needed * remove retransmission indicator support
Diffstat (limited to 'lib/ssl/src/dtls_connection.hrl')
-rw-r--r--lib/ssl/src/dtls_connection.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssl/src/dtls_connection.hrl b/lib/ssl/src/dtls_connection.hrl
index 69137b520b..ee3daa3c14 100644
--- a/lib/ssl/src/dtls_connection.hrl
+++ b/lib/ssl/src/dtls_connection.hrl
@@ -31,6 +31,7 @@
-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