You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
DTLS flights re-sending delay is incorrect. DTLS doubles flight retransmission timer value each time when DTLS state machine entering next state despite there is no retransmission occurred.
To Reproduce
Some flight (except the first one) content should be lost after sending (UDP packet lost). Then it need to wait until the lost flight content will be re-sent and measure the time between first and second sending. Measured time will be greater than 1 second. On flight4 it can be 8 seconds.
Expected behavior
According to RFC I expect that timer value will not be increased without retransmission.
The retransmit timer expires: the implementation transitions to the SENDING state, where it retransmits the flight, adjusts and re-arms the retransmit timer
Describe the bug
DTLS flights re-sending delay is incorrect. DTLS doubles flight retransmission timer value each time when DTLS state machine entering next state despite there is no retransmission occurred.
To Reproduce
Some flight (except the first one) content should be lost after sending (UDP packet lost). Then it need to wait until the lost flight content will be re-sent and measure the time between first and second sending. Measured time will be greater than 1 second. On
flight4
it can be 8 seconds.Expected behavior
According to RFC I expect that timer value will not be increased without retransmission.
https://datatracker.ietf.org/doc/html/rfc9147#section-5.8.1-7.1
https://datatracker.ietf.org/doc/html/rfc9147#section-5.8.2-2
https://datatracker.ietf.org/doc/html/rfc9147#section-5.8.2-5
Affected versions
Erlang/OTP 26.
Additional context
There is some code which changes DTLS statem states and shows that
retransmit
value is increased after each state transition.I have created pull request for the issue: #7300
The text was updated successfully, but these errors were encountered: