1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 05:53:49 +01:00
RIOT/sys/net/application_layer
Marian Buschsieweke 2c93dc9c3b
sys/net/nanocoap: fix coap_build_reply_header()
In case no payload is added, `coap_build_reply_header()` would return
`sizeof(coap_hdr_t) + token_length` regardless of the actual header
length returned by `coap_build_hdr()`. These can be different if
RFC 8974 extended tokens are enabled (module `nanocoap_token_ext`
used): If an extended token length field is used, its size is not
considered.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-11-04 21:18:07 +01:00
..
2024-09-12 11:00:41 +02:00
2020-10-23 11:27:48 +02:00
2024-09-12 11:00:41 +02:00
2022-03-31 12:50:31 +02:00
2020-11-19 23:11:21 +01:00