From 8aa3f143035ad982acb6e596a8653ac41a7860cc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Aug 2002 09:20:11 +0000 Subject: SOCKS5 support added (contributed by a still unnamed person). Not properly working for "IPv6 enabled" libcurls yet, but should be pretty easy for someone to adjust. --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http.c') diff --git a/lib/http.c b/lib/http.c index 66fa234ec..08a5536dc 100644 --- a/lib/http.c +++ b/lib/http.c @@ -420,7 +420,7 @@ CURLcode Curl_http_connect(struct connectdata *conn) * has occured, can we start talking SSL */ - if(data->change.proxy && + if(data->change.proxy && (data->set.proxytype == CURLPROXY_HTTP) && ((conn->protocol & PROT_HTTPS) || data->set.tunnel_thru_httpproxy)) { /* either HTTPS over proxy, OR explicitly asked for a tunnel */ -- cgit v1.2.3