mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-01 02:27:09 +03:00
Proxy: Fix Reverse proxy
This commit is contained in:
1 parent
191499fda9
commit
4e42d0f297
2 files changed
+4
-3
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user