gcoap_fileserver: can't deal with 16 byte block size #20686
Labels
Area: network
Area: Networking
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
When requesting 16 byte block size, the server will respond with an invalid packet.
Steps to reproduce the issue
run
examples/gcoap_fileserver
:create a dummy file
Try to access the file via e.g.
ncget
with a 16 byte block sizeExpected results
We get the response in a single block
Actual results
We get the response in a single block, but there is some garbage after the block2 option:
gcoap_fileserver.pcapng.gz
Versions
RIOT master
The text was updated successfully, but these errors were encountered: