summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Cardoso Machado <me@jonathancardoso.com>2021-10-29 10:20:04 -0300
committerDaniel Stenberg <daniel@haxx.se>2021-10-29 17:27:43 +0200
commitdd77ccd87c5bd8713eb1184e9e004b8d76b693cd (patch)
treea58fe2fb483487430e50610a79eba23e6c9ed613
parent49ab21e3d9f10c123eb83ef25f730cf053e6222b (diff)
downloadcurl-dd77ccd87c5bd8713eb1184e9e004b8d76b693cd.tar.gz
CURLOPT_HSTSWRITEFUNCTION.3: using CURLOPT_HSTS_CTRL is required
Closes #7923
-rw-r--r--docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.33
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.3 b/docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.3
index beaa095a5..6fae3a8ad 100644
--- a/docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.3
@@ -49,6 +49,9 @@ the syntax YYYYMMDD HH:MM:SS.
The callback should return \fICURLSTS_OK\fP if it succeeded and is prepared to
be called again (for another host) or \fICURLSTS_DONE\fP if there's nothing
more to do. It can also return \fICURLSTS_FAIL\fP to signal error.
+
+This option doesn't enable HSTS, you need to use \fICURLOPT_HSTS_CTRL(3)\fP to
+do that.
.SH DEFAULT
NULL - no callback.
.SH PROTOCOLS