]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cf-h3-proxy: add SSL flag
authorStefan Eissing <stefan@eissing.org>
Wed, 27 May 2026 08:36:22 +0000 (10:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 27 May 2026 08:55:59 +0000 (10:55 +0200)
Since the proxy filter does TLS, it needs to set the SSL flag.

Follow-up to e78b1b3eccfa6a2e3
Closes #21770

Spotted by Codex Security

lib/cf-h3-proxy.c

index 1896ba6302dcd34aed65020169a87acf1451d061..6af81d6d590856028e8622a5929bb874213d0dfa 100644 (file)
@@ -3421,7 +3421,7 @@ static CURLcode cf_h3_proxy_shutdown(struct Curl_cfilter *cf,
 
 struct Curl_cftype Curl_cft_h3_proxy = {
     "H3-PROXY",
-    CF_TYPE_IP_CONNECT | CF_TYPE_PROXY,
+    CF_TYPE_IP_CONNECT | CF_TYPE_PROXY | CF_TYPE_SSL,
     CURL_LOG_LVL_NONE,
     cf_h3_proxy_destroy,
     cf_h3_proxy_connect,