We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b918e92 commit d99be36Copy full SHA for d99be36
subsys/net/lib/coap/coap_client.c
@@ -687,6 +687,9 @@ static struct coap_client_internal_request *get_request_with_token(
687
for (int i = 0; i < CONFIG_COAP_CLIENT_MAX_REQUESTS; i++) {
688
if (client->requests[i].request_ongoing ||
689
!exchange_lifetime_exceeded(&client->requests[i])) {
690
+ if (client->requests[i].request_tkl == 0) {
691
+ continue;
692
+ }
693
if (client->requests[i].request_tkl != response_tkl) {
694
continue;
695
}
0 commit comments