From: Jonathan Cardoso Machado Date: Fri, 29 Oct 2021 13:20:04 +0000 (-0300) Subject: CURLOPT_HSTSWRITEFUNCTION.3: using CURLOPT_HSTS_CTRL is required X-Git-Tag: curl-7_80_0~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd77ccd87c5bd8713eb1184e9e004b8d76b693cd;p=thirdparty%2Fcurl.git CURLOPT_HSTSWRITEFUNCTION.3: using CURLOPT_HSTS_CTRL is required Closes #7923 --- diff --git a/docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.3 b/docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.3 index beaa095a56..6fae3a8ad4 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