[riot-notifications] [RIOT-OS/RIOT] net/gcoap: support DTLS (#15549)

János Brodbeck notifications at github.com
Thu May 13 20:25:20 CEST 2021


@janosbrodbeck commented on this pull request.



> +dsm_state_t dsm_store(sock_dtls_t *sock, sock_dtls_session_t *session,
+                      dsm_state_t new_state, bool restore);

Giving each DTLS socket `DTLS_PEER_MAX` session objects is extremely expensive. The other way would be to have a list of pointers of sessions. But then...you still need to store them somewhere.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15549#discussion_r632013443
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210513/8a1acdf9/attachment.htm>


More information about the notifications mailing list