mirror of
https://github.com/curl/curl.git
synced 2025-03-07 15:27:17 +08: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) {
|
||||
case CURLPROXY_SOCKS5:
|
||||
result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd, conn->host.name,
|
||||
conn->remote_port, FIRSTSOCKET, conn);
|
||||
case CURLPROXY_SOCKS5_HOSTNAME:
|
||||
result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd,
|
||||
conn->host.name, conn->remote_port,
|
||||
FIRSTSOCKET, conn);
|
||||
break;
|
||||
case CURLPROXY_HTTP:
|
||||
/* do nothing here. handled later. */
|
||||
|
Loading…
Reference in New Issue
Block a user