mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-12 11:40:39 +03:00
Merge pull request #221 from mrdeep1/issue-197
coap_io.c,net.c: Fix head of node queue re-transmit timeouts
This commit is contained in:
2 files changed
-2
No files matched your search
@@ -1102,7 +1102,6 @@ coap_write(coap_context_t *ctx,
|
||||
nextpdu = coap_peek_next(ctx);
|
||||
|
||||
while (nextpdu && now >= ctx->sendqueue_basetime && nextpdu->t <= now - ctx->sendqueue_basetime) {
|
||||
nextpdu->t = 0;
|
||||
coap_retransmit(ctx, coap_pop_next(ctx));
|
||||
nextpdu = coap_peek_next(ctx);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user