[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 342/411: CURLOPT_HSTS.3: document the file format
From: |
gnunet |
Subject: |
[gnurl] 342/411: CURLOPT_HSTS.3: document the file format |
Date: |
Wed, 13 Jan 2021 01:22:37 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 03822c3a6d3a0b1b434737eab6d291845f7b30d4
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Fri Nov 13 15:24:55 2020 +0100
CURLOPT_HSTS.3: document the file format
Closes #6205
---
docs/libcurl/opts/CURLOPT_HSTS.3 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/docs/libcurl/opts/CURLOPT_HSTS.3 b/docs/libcurl/opts/CURLOPT_HSTS.3
index c3fc5bf50..2eb366878 100644
--- a/docs/libcurl/opts/CURLOPT_HSTS.3
+++ b/docs/libcurl/opts/CURLOPT_HSTS.3
@@ -46,6 +46,21 @@ only enable HSTS without reading from or writing to any file.
If this option is set multiple times, libcurl will load cache entries from
each given file but will only store the last used name for later writing.
+.SH "FILE FORMAT"
+The HSTS cache is saved to and loaded from a text file with one entry per
+physical line. Each line in the file has the following format:
+
+[host] [stamp]
+
+[host] is the domain name for the entry and the name is dot-prefixed if it is
+a includeSubDomain entry (if the entry is valid for all subdmains to the name
+as well or only for the exact name).
+
+[stamp] is the time (in UTC) when the entry expires and it uses the format
+\&"YYYYMMDD HH:MM:SS".
+
+Lines starting with "#" are treated as comments and are ignored. There is
+currently no length or size limit.
.SH DEFAULT
NULL, no file name
.SH PROTOCOLS
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 359/411: tests/server/tftpd.c: close upload file right after transfer, (continued)
- [gnurl] 359/411: tests/server/tftpd.c: close upload file right after transfer, gnunet, 2021/01/12
- [gnurl] 321/411: test493: verify --hsts upgrade and that %{url_effective} reflects that, gnunet, 2021/01/12
- [gnurl] 314/411: docs: Fix various typos in documentation, gnunet, 2021/01/12
- [gnurl] 364/411: http3: use the master branch of GnuTLS for testing, gnunet, 2021/01/12
- [gnurl] 349/411: KNOWN_BUGS: cmake libcurl.pc uses absolute library paths, gnunet, 2021/01/12
- [gnurl] 278/411: CURLOPT_DNS_USE_GLOBAL_CACHE.3: fix typo, gnunet, 2021/01/12
- [gnurl] 329/411: Revert "libcurl.pc: make it relocatable", gnunet, 2021/01/12
- [gnurl] 327/411: Curl_pgrsStartNow: init speed limit time stamps at start, gnunet, 2021/01/12
- [gnurl] 310/411: KNOWN_BUGS: FTPS with Schannel times out file list operation, gnunet, 2021/01/12
- [gnurl] 295/411: travis: use valgrind when running tests for debug builds, gnunet, 2021/01/12
- [gnurl] 342/411: CURLOPT_HSTS.3: document the file format,
gnunet <=
- [gnurl] 290/411: http: pass correct header size to debug callback for chunked post, gnunet, 2021/01/12
- [gnurl] 377/411: socks: check for DNS entries with the right port number, gnunet, 2021/01/12
- [gnurl] 372/411: file: avoid duplicated code sequence, gnunet, 2021/01/12
- [gnurl] 376/411: curl_setup: USE_RESOLVE_ON_IPS is for Apple native resolver use, gnunet, 2021/01/12
- [gnurl] 292/411: tests: add missing global_init/cleanup calls, gnunet, 2021/01/12
- [gnurl] 356/411: openssl: guard against OOM on context creation, gnunet, 2021/01/12
- [gnurl] 280/411: mailmap: set Viktor Szakats's email, gnunet, 2021/01/12
- [gnurl] 269/411: CI/appveyor: disable test 571 in two cmake builds, gnunet, 2021/01/12
- [gnurl] 326/411: ngtcp2: adapt to recent nghttp3 updates, gnunet, 2021/01/12
- [gnurl] 411/411: add lowercase curl, gnunet, 2021/01/12