forked from pion/dtls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compact handshake records into less packets
Currently each record during the handshake process is sent as a separate packet. The dTLS spec allows for combining records into a signal packet so long as the packet fits within the MTU. Here we implement this improvement, compacting records during the handshake process into less packets. The number of packets sent for a complete handshake before this change was 12. With this change the number is reduced to 7. While improvements are likely hard to measure, this should reduce tail handshake latency in lossy networks.
- Loading branch information
Showing
5 changed files
with
342 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.