Xdeon / ecoap

0 stars 1 forks source link

Message lifetime conflicts with retransmit interval #5

Open Xdeon opened 5 years ago

Xdeon commented 5 years ago

When message lifetime is set to value less than retransmit interval, it is possible that we never get a reply if using synchronous APIs with infinity timeout + the remote endpoint is unresponsive. This is because message exchange is cleaned up too early and the transmit timeout message leads to nowhere. However in this case we still have stale token info left in the endpoint process ...