Commit 8994612
committed
Remove dtls_expected_rx and use expected values directly
We should always read MTU + EXTRA so that we capture the entire message and are able to correctly decrypt the entire datagram. A smaller MTU also breaks larger handshake messages sent during a connection like secure renegotiation in DTLS 1.2 (confirmed) and post-handshake messages in DTLS 1.3 (suspected).1 parent 80c8c62 commit 8994612
3 files changed
Lines changed: 14 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7182 | 7182 | | |
7183 | 7183 | | |
7184 | 7184 | | |
7185 | | - | |
7186 | | - | |
7187 | | - | |
7188 | 7185 | | |
7189 | | - | |
7190 | | - | |
7191 | | - | |
7192 | 7186 | | |
7193 | 7187 | | |
7194 | 7188 | | |
| |||
10599 | 10593 | | |
10600 | 10594 | | |
10601 | 10595 | | |
10602 | | - | |
10603 | 10596 | | |
10604 | | - | |
| 10597 | + | |
10605 | 10598 | | |
10606 | | - | |
| 10599 | + | |
10607 | 10600 | | |
10608 | | - | |
| 10601 | + | |
10609 | 10602 | | |
10610 | 10603 | | |
10611 | 10604 | | |
10612 | 10605 | | |
10613 | 10606 | | |
10614 | 10607 | | |
10615 | 10608 | | |
10616 | | - | |
10617 | | - | |
10618 | | - | |
10619 | | - | |
10620 | | - | |
10621 | | - | |
| 10609 | + | |
10622 | 10610 | | |
10623 | 10611 | | |
10624 | 10612 | | |
| |||
19854 | 19842 | | |
19855 | 19843 | | |
19856 | 19844 | | |
19857 | | - | |
19858 | | - | |
19859 | | - | |
19860 | | - | |
| 19845 | + | |
| 19846 | + | |
| 19847 | + | |
| 19848 | + | |
| 19849 | + | |
| 19850 | + | |
| 19851 | + | |
| 19852 | + | |
| 19853 | + | |
| 19854 | + | |
19861 | 19855 | | |
19862 | 19856 | | |
19863 | 19857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3338 | 3338 | | |
3339 | 3339 | | |
3340 | 3340 | | |
3341 | | - | |
3342 | | - | |
3343 | | - | |
3344 | | - | |
3345 | | - | |
3346 | | - | |
3347 | | - | |
3348 | | - | |
3349 | | - | |
3350 | | - | |
3351 | | - | |
3352 | | - | |
3353 | | - | |
3354 | | - | |
3355 | | - | |
3356 | | - | |
3357 | 3341 | | |
3358 | 3342 | | |
3359 | 3343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5567 | 5567 | | |
5568 | 5568 | | |
5569 | 5569 | | |
5570 | | - | |
5571 | 5570 | | |
5572 | 5571 | | |
5573 | 5572 | | |
| |||
0 commit comments