]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_HSTSWRITEFUNCTION.3: using CURLOPT_HSTS_CTRL is required
authorJonathan Cardoso Machado <me@jonathancardoso.com>
Fri, 29 Oct 2021 13:20:04 +0000 (10:20 -0300)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 Oct 2021 15:27:43 +0000 (17:27 +0200)
Closes #7923

docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.3

index beaa095a56fda40d9bdac68fa1ff802e75ed4107..6fae3a8ad426ee0d3f3386e34d0b69d1f8e58bfa 100644 (file)
@@ -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