mirror of
https://github.com/curl/curl.git
synced 2026-07-28 09:53:06 +03:00
parent
3f3b26d6fe
commit
abff183387
15 changed files with 1174 additions and 62 deletions
|
|
@ -2603,6 +2603,11 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option,
|
|||
data->set.disallow_username_in_url =
|
||||
(0 != va_arg(param, long)) ? TRUE : FALSE;
|
||||
break;
|
||||
case CURLOPT_DOH_URL:
|
||||
result = Curl_setstropt(&data->set.str[STRING_DOH],
|
||||
va_arg(param, char *));
|
||||
data->set.doh = data->set.str[STRING_DOH]?TRUE:FALSE;
|
||||
break;
|
||||
default:
|
||||
/* unknown tag and its companion, just ignore: */
|
||||
result = CURLE_UNKNOWN_OPTION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue