mirror of
https://github.com/curl/curl.git
synced 2026-08-05 17:26:13 +03:00
curl: --doh-url added
This commit is contained in:
parent
abff183387
commit
5ffbb63e42
7 changed files with 21 additions and 1 deletions
|
|
@ -1262,6 +1262,9 @@ static CURLcode operate_do(struct GlobalConfig *global,
|
|||
my_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS,
|
||||
(long)(config->connecttimeout * 1000));
|
||||
|
||||
if(config->doh_url)
|
||||
my_setopt_str(curl, CURLOPT_DOH_URL, config->doh_url);
|
||||
|
||||
if(config->cipher_list)
|
||||
my_setopt_str(curl, CURLOPT_SSL_CIPHER_LIST, config->cipher_list);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue