Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support serializing and deserializing a UDP DTLS connection #472

Open
oursland opened this issue Aug 23, 2023 · 2 comments
Open

Support serializing and deserializing a UDP DTLS connection #472

oursland opened this issue Aug 23, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@oursland
Copy link

DTLS connections can have their states marshalled for storage and unmarshalled to restore the connection. Supporting this would permit a user to maintain long-term CoAP connections without the need to for renegotiating the DTLS handshakes, improving performance particularly over unreliable and high latency networks such as LPWAN and cellular.

The underlying functionality to support this provided by the following functions from pion/dtls:

@hasheddan
Copy link
Contributor

@oursland thanks for opening! This is on my radar as well 👍🏻 I recently added Connection ID support in pion/dtls and have a branch that should be ready by the end of this week to support in go-coap (#467). Are you planning to work on resuming connections or are you looking for someone else to pick it up? Happy to collaborate either way :)

@oursland
Copy link
Author

I have added it as a task to work on if it isn't completed by the time I would like to use it. I'm still in the early stages of a project and so optimizing for infrequent connections, battery life, connection sensitivity, etc are still further down the road for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants