mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:53:37 +03:00
hostip: CURL_DISABLE_SHUFFLE_DNS
This commit is contained in:
parent
1f8a584f6a
commit
3cfcdf08d8
2 changed files with 6 additions and 1 deletions
|
|
@ -2654,9 +2654,11 @@ static CURLcode vsetopt(struct Curl_easy *data, CURLoption option,
|
|||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
data->set.happy_eyeballs_timeout = arg;
|
||||
break;
|
||||
#ifndef CURL_DISABLE_SHUFFLE_DNS
|
||||
case CURLOPT_DNS_SHUFFLE_ADDRESSES:
|
||||
data->set.dns_shuffle_addresses = (0 != va_arg(param, long)) ? TRUE:FALSE;
|
||||
break;
|
||||
#endif
|
||||
case CURLOPT_DISALLOW_USERNAME_IN_URL:
|
||||
data->set.disallow_username_in_url =
|
||||
(0 != va_arg(param, long)) ? TRUE : FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue