[RFC PATCH v2] http: support CURLPROXY_HTTPS

2017-12-23 Thread Wei Shuyu
ff-by: Wei Shuyu --- http.c | 9 + 1 file changed, 9 insertions(+) diff --git a/http.c b/http.c index 215bebef1..d8a5e48f0 100644 --- a/http.c +++ b/http.c @@ -708,6 +708,10 @@ static CURL *get_curl_handle(void) if (!curl_ssl_verify) { curl_easy_setopt(r

Re: [PATCH] http: support CURLPROXY_HTTPS

2017-12-19 Thread Wei Shuyu
On 2017-12-20 10:22, Wei Shuyu wrote: CURLPROXY_HTTPS is intended for run-time detection. I don't think it's a good idea to use it with #ifdef. s/CURLPROXY_HTTPS/CURL_VERSION_HTTPS_PROXY/

[PATCH] http: support CURLPROXY_HTTPS

2017-12-19 Thread Wei Shuyu
HTTP proxy over SSL is supported by curl since 7.52.0. This is very useful for networks with protocol whitelist. Signed-off-by: Wei Shuyu --- http.c | 5 + 1 file changed, 5 insertions(+) diff --git a/http.c b/http.c index 215bebef1..32d33261c 100644 --- a/http.c +++ b/http.c @@ -865,6