mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 16:17:47 +00:00
[coap] finish cached coap response before sending (#4175)
This commit is contained in:
@@ -601,6 +601,7 @@ void CoapBase::ProcessReceivedRequest(Message &aMessage, const Ip6::MessageInfo
|
||||
switch (mResponsesQueue.GetMatchedResponseCopy(aMessage, aMessageInfo, &cachedResponse))
|
||||
{
|
||||
case OT_ERROR_NONE:
|
||||
cachedResponse->Finish();
|
||||
error = Send(*cachedResponse, aMessageInfo);
|
||||
// fall through
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user