coap-server.c: Handle ongoing proxy setup failure

This commit is contained in:
Jon Shallow authored and obgm committed 2022-10-14 08:44:43 +02:00
1 parent de369eb7c7
commit 70741f6417
1 file changed
+2
+2
View File
@@ -1102,6 +1102,8 @@ hnd_proxy_uri(coap_resource_t *resource COAP_UNUSED,
ongoing = get_ongoing_proxy_session(session, response, &token,
query, req_code, req_type, &uri);
if (!ongoing)
goto cleanup;
/*
* Build up the ongoing PDU that we are going to send
*/