CURLOPT_SOCKS_PROXYTYPE: removed

This was added as part of the SOCKS+HTTPS proxy merge but there's no
need to support this as we prefer to have the protocol specified as a
prefix instead.
This commit is contained in:
Daniel Stenberg 2016-12-16 15:10:19 +01:00
parent 558b5f68a6
commit 7907a2bec9
6 changed files with 13 additions and 107 deletions

View file

@ -867,11 +867,9 @@ static CURLcode operate_do(struct GlobalConfig *global,
if(config->proxy)
my_setopt_enum(curl, CURLOPT_PROXYTYPE, (long)config->proxyver);
/* new in libcurl 7.10 */
/* new in libcurl 7.52.0 */
if(config->socksproxy) {
my_setopt_str(curl, CURLOPT_SOCKS_PROXY, config->socksproxy);
my_setopt_enum(curl, CURLOPT_SOCKS_PROXYTYPE,
(long)config->socksver);
}
/* new in libcurl 7.10.6 */