mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-01 15:35:46 +03:00
When initating a multicast request, multiple unicast responses can occur. If the unicast response subsequently generates further traffic (in other words a BLOCK1 or BLOCK2 transfer) to complete the request/response sequence, each unicast transfer can behave differently. Set up different coap_lg_crcv_t for each unicast response for the session. Set up different coap_lg_xmit_t for each unicast request if doing large transmits. Reference initial transmitted request PDU rather than maintaining copies of the PDU in coap_lg_crcv_t or coap_lg_xmit_t.