mirror of
https://github.com/curl/curl.git
synced 2025-10-01 00:16:48 +03:00
make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well
This commit is contained in:
parent
7306b7829b
commit
cadd08f36a
|
@ -2636,8 +2636,10 @@ static CURLcode ConnectPlease(struct SessionHandle *data,
|
||||||
|
|
||||||
switch(data->set.proxytype) {
|
switch(data->set.proxytype) {
|
||||||
case CURLPROXY_SOCKS5:
|
case CURLPROXY_SOCKS5:
|
||||||
result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd, conn->host.name,
|
case CURLPROXY_SOCKS5_HOSTNAME:
|
||||||
conn->remote_port, FIRSTSOCKET, conn);
|
result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd,
|
||||||
|
conn->host.name, conn->remote_port,
|
||||||
|
FIRSTSOCKET, conn);
|
||||||
break;
|
break;
|
||||||
case CURLPROXY_HTTP:
|
case CURLPROXY_HTTP:
|
||||||
/* do nothing here. handled later. */
|
/* do nothing here. handled later. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user