summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/http_proxy.h
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2024-12-12 09:52:45 +0300
committerdartraiden <wowemuh@gmail.com>2024-12-12 09:55:10 +0300
commitcefdd26d62e01878b8e8acbb78a8fcc477a63fd9 (patch)
tree023cc726019de25ac01e7d6098b620e1f36f426a /libs/libcurl/src/http_proxy.h
parent583ab0796b113df6474cfce7416084215cb850e7 (diff)
libcurl: update to 8.11.1
Diffstat (limited to 'libs/libcurl/src/http_proxy.h')
-rw-r--r--libs/libcurl/src/http_proxy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/libcurl/src/http_proxy.h b/libs/libcurl/src/http_proxy.h
index 5566a7c0bd..95f4c7522c 100644
--- a/libs/libcurl/src/http_proxy.h
+++ b/libs/libcurl/src/http_proxy.h
@@ -30,6 +30,12 @@
#include "urldata.h"
+enum Curl_proxy_use {
+ HEADER_SERVER, /* direct to server */
+ HEADER_PROXY, /* regular request to proxy */
+ HEADER_CONNECT /* sending CONNECT to a proxy */
+};
+
CURLcode Curl_http_proxy_get_destination(struct Curl_cfilter *cf,
const char **phostname,
int *pport, bool *pipv6_ip);