diff options
author | Curl Upstream <curl-library@cool.haxx.se> | 2016-12-22 15:41:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-07 16:37:30 (GMT) |
commit | 4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab (patch) | |
tree | ef3a36a4eb9b0c43881db54e61574378e104b936 /lib/url.h | |
parent | 93cc249f3dd7ecd621cd063e4c08bbdb54d971e8 (diff) | |
download | CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.zip CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.gz CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.bz2 |
curl 2016-12-22 (44b9b4d4)
Code extracted from:
https://github.com/curl/curl.git
at commit 44b9b4d4f56d6f6de92c89636994c03984e9cd01 (curl-7_52_1).
Diffstat (limited to 'lib/url.h')
-rw-r--r-- | lib/url.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -67,6 +67,8 @@ void Curl_getoff_all_pipelines(struct Curl_easy *data, void Curl_close_connections(struct Curl_easy *data); #define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */ +#define CURL_DEFAULT_HTTPS_PROXY_PORT 443 /* default https proxy port unless + specified */ CURLcode Curl_connected_proxy(struct connectdata *conn, int sockindex); @@ -76,5 +78,16 @@ CURLcode Curl_connected_proxy(struct connectdata *conn, int sockindex); void Curl_verboseconnect(struct connectdata *conn); #endif +#define CONNECT_PROXY_SSL()\ + (conn->http_proxy.proxytype == CURLPROXY_HTTPS &&\ + !conn->bits.proxy_ssl_connected[sockindex]) + +#define CONNECT_FIRSTSOCKET_PROXY_SSL()\ + (conn->http_proxy.proxytype == CURLPROXY_HTTPS &&\ + !conn->bits.proxy_ssl_connected[FIRSTSOCKET]) + +#define CONNECT_SECONDARYSOCKET_PROXY_SSL()\ + (conn->http_proxy.proxytype == CURLPROXY_HTTPS &&\ + !conn->bits.proxy_ssl_connected[SECONDARYSOCKET]) #endif /* HEADER_CURL_URL_H */ |