Proxy: Fix Reverse proxy

This commit is contained in:
Jon Shallow committed 2025-12-30 10:54:33 +00:00
1 parent 191499fda9
commit 4e42d0f297
2 files changed
+4 -3

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
* Fixes the following CVEs
CVE-2025-59391
CVE-2025-65493
CVE-2025-65494
CVE-2025-65495
CVE-2025-65496
+3 -3
View File
@@ -221,13 +221,13 @@ coap_proxy_get_session(coap_session_t *session, const coap_pdu_t *request,
switch (server_list->type) {
case COAP_PROXY_REVERSE:
case COAP_PROXY_FORWARD:
case COAP_PROXY_DIRECT:
case COAP_PROXY_DIRECT_STRIP:
case COAP_PROXY_REVERSE_STRIP:
/* Nothing else needs to be done */
break;
case COAP_PROXY_REVERSE_STRIP:
case COAP_PROXY_FORWARD:
case COAP_PROXY_FORWARD_STRIP:
case COAP_PROXY_DIRECT_STRIP:
/* Need to get actual server from CoAP options */
/*
* See if Proxy-Scheme