aiocoap icon indicating copy to clipboard operation
aiocoap copied to clipboard

Blockwise transfers not queued if conflicting

Open chrysn opened this issue 8 years ago • 1 comments

Simultaneous blockwise (block1) requests to the same resource can not be distinguished in CoAP and thus need to be serialized or originate from different ports.

Neither happens, causing test_blockwise..test_sequential to fail.

Planned fix is the block handler noting in-progress transfers and queueing up (or maybe failing in case of NONs) the second request.

chrysn avatar Mar 08 '17 10:03 chrysn

As an alternative to serializing, they could also use Request-Tag.

chrysn avatar Oct 20 '21 10:10 chrysn