mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-01 07:25:47 +03:00
do not acknowledge request as this is done automatically by coap_dispatch()
This commit is contained in:
1 parent
63bfbfaf89
commit
db2d6e8731
1 file changed
-7
@@ -73,13 +73,6 @@ coap_register_async(coap_context_t *context, coap_address_t *peer,
|
||||
|
||||
LL_PREPEND(context->async_state, s);
|
||||
|
||||
/* send empty ACK response if request was confirmable */
|
||||
if (flags & COAP_ASYNC_SEPARATE && flags & COAP_ASYNC_CONFIRM) {
|
||||
coap_send_ack(context, peer, request);
|
||||
} else {
|
||||
s->message_id = request->hdr->id;
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user