diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-01-05 22:04:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-01-05 22:04:18 +0000 |
commit | b4305764367f24f06ce7dedc557d90772a00eec1 (patch) | |
tree | d723ad3a4b96f6d4bb810e5853de764f83da99da /lib/url.c | |
parent | 65008a4e55db71cff22e3fca6b36f15eb642b92d (diff) |
Based on further discussion on curl-library, I reverted yesterday's SOCKS5
code to instead introduce support for a new proxy type called
CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy
instead of IP address and there's thus no longer any need for a new
curl_easy_setopt() option.
The default SOCKS5 proxy is again back to sending the IP address to the
proxy. The new curl command line option for enabling sending host name to a
SOCKS5 proxy is now --socks5-hostname.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -2054,14 +2054,6 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, } break; - case CURLOPT_SOCKS5_RESOLVE_LOCAL: - /* - * Enable or disable using of SOCKS5 proxy server to resolve domain names - * instead of using platform API like gethostbyname_r etc - */ - data->set.socks5_resolve_local = (bool)(0 != va_arg(param, long)); - break; - default: /* unknown tag and its companion, just ignore: */ result = CURLE_FAILED_INIT; /* correct this */ |