[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 319/411: tool_operate: set HSTS with CURLOPT_HSTS to pass on fil
From: |
gnunet |
Subject: |
[gnurl] 319/411: tool_operate: set HSTS with CURLOPT_HSTS to pass on filename |
Date: |
Wed, 13 Jan 2021 01:22:14 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit f7e72f4d5cda12e9a3881a37c8557885342bc5c5
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Thu Nov 5 09:17:58 2020 +0100
tool_operate: set HSTS with CURLOPT_HSTS to pass on filename
Closes #6175
---
src/tool_operate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 0372e423b..bc9dc058b 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -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) {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 383/411: ntlm: avoid malloc(0) on zero length user and domain, (continued)
- [gnurl] 383/411: ntlm: avoid malloc(0) on zero length user and domain, gnunet, 2021/01/12
- [gnurl] 355/411: cmake: use libcurl.rc in all Windows builds, gnunet, 2021/01/12
- [gnurl] 360/411: curl: add compatibility for Amiga and GCC 6.5, gnunet, 2021/01/12
- [gnurl] 345/411: KNOWN_BUGS: make a new section for cmake topics, gnunet, 2021/01/12
- [gnurl] 274/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 330/411: THANKS-filter: ignore autobuild links, gnunet, 2021/01/12
- [gnurl] 368/411: asyn: use 'struct thread_data *' instead of 'void *', gnunet, 2021/01/12
- [gnurl] 305/411: rtsp: fixed the RTST Session ID mismatch in test 570, gnunet, 2021/01/12
- [gnurl] 371/411: infof/failf calls: fix format specifiers, gnunet, 2021/01/12
- [gnurl] 339/411: curl: only warn not fail, if not finding the home dir, gnunet, 2021/01/12
- [gnurl] 319/411: tool_operate: set HSTS with CURLOPT_HSTS to pass on filename,
gnunet <=
- [gnurl] 272/411: alt-svc: enable by default, gnunet, 2021/01/12
- [gnurl] 391/411: docs: fix typos and markup in ETag manpage sections, gnunet, 2021/01/12
- [gnurl] 334/411: curl_easy_escape: limit output string length to 3 * max input, gnunet, 2021/01/12
- [gnurl] 384/411: openssl: remove #if 0 leftover, gnunet, 2021/01/12
- [gnurl] 403/411: cmake: don't use reserved target name 'test', gnunet, 2021/01/12
- [gnurl] 382/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 394/411: openssl: use OPENSSL_init_ssl() with >= 1.1.0, gnunet, 2021/01/12
- [gnurl] 380/411: ngtcp2: use the minimal version of QUIC supported by ngtcp2, gnunet, 2021/01/12
- [gnurl] 409/411: gnurl: rename new files, gnunet, 2021/01/12
- [gnurl] 379/411: ngtcp2: advertise h3 ALPN unconditionally, gnunet, 2021/01/12