mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-10-07 07:57:57 +00:00
5403b2a211
When a client sends a CoAP request with no block2 size, the default one would be set to REST_MAX_CHUNK_SIZE. However, this is not guaranteed to be a power of 2. This can lead to clients receiving a bigger payload than expected as part of the header, and ending up with duplicated content. Setting the default to COAP_MAX_BLOCK_SIZE, which is guaranteed to be a power of 2, fixes this. |
||
---|---|---|
.. | ||
about | ||
antelope | ||
calc | ||
cmdd | ||
codeprop | ||
collect-view | ||
deluge | ||
dhcp | ||
directory | ||
er-coap | ||
ftp | ||
http-post-auth | ||
httpd-ws | ||
irc | ||
json | ||
mqtt | ||
netconf | ||
ping6 | ||
powertrace | ||
process-list | ||
program-handler | ||
rest-engine | ||
serial-shell | ||
servreg-hack | ||
shell | ||
slip-cmd | ||
telnet | ||
telnetd | ||
unit-test | ||
webbrowser | ||
webserver | ||
webserver-nano |