Conversation
|
Just to mention: Using this with the libcoap examples results in leaks reported by valgrind. |
|
One idea to fix the resulting leak is to add a |
1f4067b to
4f9184b
Compare
9de6c43 to
3ce625a
Compare
3ff5f74 to
1dbada8
Compare
1dbada8 to
cda7303
Compare
cda7303 to
0b39ffd
Compare
0b39ffd to
b7552ec
Compare
obgm
left a comment
There was a problem hiding this comment.
Looks good except for the missing documentation of the new enum and field in netq.h, see below.
Sending Alert according RFC6347 without retransmission is not reliable. Therefore a dummy retransmission entry is used for outgoing Alerts. On retransmission, the Alert is not retransmitted, instead handle_alert is called to emulate receiving the response. Fixes: Issue eclipse-tinydtls#95 Signed-off-by: Achim Kraus <achim.kraus@bosch.io>
b7552ec to
5e37fb8
Compare
|
I added some documentation. Not sure, if you prefer to have more details on the jobs and how the processing will be done. If so, let me know. |
Fix waiting without timeout in DTLS_STATE_CLOSING after Alert.
Sending Alert according RFC6347 without retransmission is not reliable.
Therefore a dummy retransmission entry is used for outgoing Alerts. On
retransmission, the Alert is not retransmitted, instead handle_alert is
called to emulate receiving the response.
Issue #95