]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/cmdline-opts/hsts.d: explain hsts more
authorDaniel Stenberg <daniel@haxx.se>
Sun, 8 Jan 2023 09:29:18 +0000 (10:29 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 8 Jan 2023 10:08:10 +0000 (11:08 +0100)
Closes #10258

docs/cmdline-opts/hsts.d

index e7b9a4e4ffba622d7834597e818144a5bba4aadc..173ed0acb0d5b61dccb45819fdeb9714ff395022 100644 (file)
@@ -14,6 +14,11 @@ This option enables HSTS for the transfer. If the file name points to an
 existing HSTS cache file, that will be used. After a completed transfer, the
 cache will be saved to the file name again if it has been modified.
 
+If curl is told to use HTTP:// for a transfer involving a host name that
+exists in the HSTS cache, it upgrades the transfer to use HTTPS. Each HSTS
+cache entry has an individual life time after which the upgrade is no longer
+performed.
+
 Specify a "" file name (zero length) to avoid loading/saving and make curl
 just handle HSTS in memory.