gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]