mirror of
https://github.com/curl/curl.git
synced 2026-06-03 10:34:15 +03:00
make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well
This commit is contained in:
parent
7306b7829b
commit
cadd08f36a
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue