mirror of
https://github.com/curl/curl.git
synced 2026-07-23 17:07:16 +03:00
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:
parent
558b5f68a6
commit
7907a2bec9
6 changed files with 13 additions and 107 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue