netutils/libcoap : bug fixes for CoAP over TCP
authorJin-Seong Kim <jseong82.kim@samsung.com>
Tue, 8 Aug 2017 08:29:58 +0000 (17:29 +0900)
committerEunBong Song <eunb.song@samsung.com>
Wed, 30 Aug 2017 04:16:44 +0000 (21:16 -0700)
commit3fe8f53c8ecf71214d04a4d0cc36c0381451fa10
tree2276463abd944307371f586ac700743c54461f2e
parent8d542d4a9b7c3ead90d709976105c4b70858f183
netutils/libcoap : bug fixes for CoAP over TCP

This commit is patch for bug fixes for CoAP over TCP
1. patch for memory leakage issue
 - some pdus are not freed when coap_send returns COAP_INVALID_TID
2. add waiting routine on libcoap-server
 - waiting until g_operating_status is SERVER_STOPPED state
 - duplicated libcoap-server process can cause abort during long-run test
3. add debug logs for further tracing

Change-Id: Ib1173a6f24691eebae5860727227d85c09972ef3
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
apps/examples/libcoap_client/libcoap-client.c
apps/examples/libcoap_server/libcoap-server.c
apps/netutils/libcoap/net.c
apps/netutils/libcoap/resource.c