CURLOPT_PREREQFUNCTION.md: add result code on failure

Closes #15542
This commit is contained in:
Logan Buth 2024-11-07 23:58:17 -06:00 committed by Daniel Stenberg
parent a06c0a5bce
commit c14a9c8124
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -51,7 +51,8 @@ This function may be called multiple times if redirections are enabled and are
being followed (see CURLOPT_FOLLOWLOCATION(3)).
The callback function must return *CURL_PREREQFUNC_OK* on success, or
*CURL_PREREQFUNC_ABORT* to cause the transfer to fail.
*CURL_PREREQFUNC_ABORT* to cause the transfer to fail with result
*CURLE_ABORTED_BY_CALLBACK*.
This function is passed the following arguments: