[riot-notifications] [RIOT-OS/RIOT] sys/net/gcoap: Use socket _buf API to recognize truncated requests (#16378)

Martine Lenders notifications at github.com
Wed Aug 25 16:10:19 CEST 2021


> `coap get 2a02:b18:c13b:8010::907 5683 /other/block`
> 
> * previously have given a timeout, and (when using `-c` and `/other/separate`, a very annoyed server because it's server that retries several times in vain); 
> * now a part of the response is shown, and a warning about the truncation is shown.

With #16715 in mind, do you think it might make sense to introduce a `gcoap_get_payload()` function here (for #16715 this would then be generalized with `gcoap_get_large_payload()`?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16378#issuecomment-905534855
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210825/62a4460b/attachment.htm>


More information about the notifications mailing list