summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-01-08 10:29:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-01-08 11:08:10 +0100
commit5a9a5e171e186da14dc9d209a17304ed03c6cac8 (patch)
tree81649afca0d4200ae6bb2c335def7d800e15a7d9
parent4303093cd532cf48f1ec2db5899cf60c95a116d4 (diff)
downloadcurl-5a9a5e171e186da14dc9d209a17304ed03c6cac8.tar.gz
docs/cmdline-opts/hsts.d: explain hsts more
Closes #10258
-rw-r--r--docs/cmdline-opts/hsts.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/cmdline-opts/hsts.d b/docs/cmdline-opts/hsts.d
index e7b9a4e4f..173ed0acb 100644
--- a/docs/cmdline-opts/hsts.d
+++ b/docs/cmdline-opts/hsts.d
@@ -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.