diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.3 b/docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.3 index d5e6ea542..2ed167fd9 100644 --- a/docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.3 @@ -46,7 +46,9 @@ might cause the name to not get accepted) The callback should return \fICURLSTS_OK\fP if it returns a name and is prepared to be called again (for another host) or \fICURLSTS_DONE\fP if it has -no entry to return. It can also return \fICURLSTS_FAIL\fP to signal error. +no entry to return. It can also return \fICURLSTS_FAIL\fP to signal +error. Returning \fICURLSTS_FAIL\fP will stop the transfer from being +performed and make \fICURLE_ABORTED_BY_CALLBACK\fP get returned. This option doesn't enable HSTS, you need to use \fICURLOPT_HSTS_CTRL(3)\fP to do that. |