shamblett / coap

A Coap package for dart
Other
16 stars 13 forks source link

fix: report correct retransmit count on timeout #139

Closed JKRhb closed 1 year ago

JKRhb commented 1 year ago

In the context of #138, I noticed that the CoapRequestTimeoutException is currently a bit broken and does not display the correct number of retransmits (instead, it always reports 0 retransmits). This PR provides a simple fix.