mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-05 01:12:55 +03:00
If multiple requests (apart from DELETE) are sent at the same time to the same resource, and the responses need to make use of the Block2 option, there is no way for the server to differentiate between which block set a request (if there is a resource content change) is for unless a Request-Tag is used. Disable this functionality by setting COAP_BLOCK_NO_PREEMPTIVE_RTAG when calling coap_context_set_block_mode(). Request-Tag will still be sent with any request that includes Block1 option.