forked from openthread/openthread
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[secure-transport] support multiple sessions on the same transport (o…
…penthread#11092) This commit updates `SecureTransport` to support multiple `SecureSession`s on the same transport. The transport tracks a list of sessions that it owns and manages. Two new callbacks are introduced: - `AcceptCallback`: Used to accept a new connection request, providing the `SecureSession` instance to use (passing ownership of the session to the transport). - `RemoveSessionCallback`: Signals that a session is removed, releasing ownership of the session. `BorderAgent`, `Tmf::SecureAgent`, and `ApplicationCoapSecure` are updated to adopt the new model. This commit also updates the Nexus `test_dtls`, adding `TestDtlsMultiSession` to validate multiple session support behavior.
- Loading branch information
Showing
11 changed files
with
671 additions
and
128 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
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
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
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
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
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.