libcoap icon indicating copy to clipboard operation
libcoap copied to clipboard

with lwip, until function coap_new_endpoint return, 'result' is not assigned to context->endpoint

Open luminais opened this issue 6 years ago • 2 comments

https://github.com/obgm/libcoap/blob/1d484849e881d6d2eb5099e189d85b84d995ac25/src/net.c#L472-L477 https://github.com/obgm/libcoap/blob/1d484849e881d6d2eb5099e189d85b84d995ac25/src/coap_io_lwip.c#L105-L128

luminais avatar Apr 15 '19 09:04 luminais

You are right, this is indeed missing.

obgm avatar Sep 02 '19 11:09 obgm

libcoap LwIP support has been re-written in PR https://github.com/obgm/libcoap/pull/884, and so this should no longer be an issue as the standard coap_new_endpoint() function is now used.

mrdeep1 avatar Jul 23 '22 15:07 mrdeep1

Fixed in #939.

mrdeep1 avatar Oct 10 '22 19:10 mrdeep1