CURLOPT_HSTSWRITEFUNCTION.3: using CURLOPT_HSTS_CTRL is required

Closes #7923
This commit is contained in:
Jonathan Cardoso Machado 2021-10-29 10:20:04 -03:00 committed by Daniel Stenberg
parent 49ab21e3d9
commit dd77ccd87c
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View 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