mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
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.
This commit is contained in:
parent
ac285b453e
commit
8aa3f14303
5 changed files with 221 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue