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

Ken Bannister notifications at github.com
Sat May 15 16:26:47 CEST 2021


I saw a message in my email from this PR. It's been a while but my recollection is below.

> Sidenote: There is a branch by @kb2ma somewhere, that should make that possible.

See the kb2ma/RIOT/lwip* branches.

> Why can't we use a user supplied buffer here instead of the local _listen_buf?

IIRC this is the basic design of gcoap, as a messaging hub running in its own thread and for simplicity. See the [wiki page](https://github.com/RIOT-OS/RIOT/wiki/CoAP-Home) for contrast with nanocoap.

-- 
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-841667015
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210515/8b1bb4db/attachment.htm>


More information about the notifications mailing list