tool_operate: set HSTS with CURLOPT_HSTS to pass on filename

Closes #6175
This commit is contained in:
Daniel Stenberg 2020-11-05 09:17:58 +01:00
parent 6ee57c8bdd
commit f7e72f4d5c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -2073,7 +2073,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
my_setopt_str(curl, CURLOPT_ALTSVC, config->altsvc);
if(config->hsts)
my_setopt_bitmask(curl, CURLOPT_HSTS_CTRL, CURLHSTS_ENABLE);
my_setopt_str(curl, CURLOPT_HSTS, config->hsts);
#ifdef USE_METALINK
if(!metalink && config->use_metalink) {