From: Logan Buth Date: Fri, 8 Nov 2024 05:58:17 +0000 (-0600) Subject: CURLOPT_PREREQFUNCTION.md: add result code on failure X-Git-Tag: curl-8_11_1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c14a9c8124e2e9dc07c17bfc331f546c0942e6e0;p=thirdparty%2Fcurl.git CURLOPT_PREREQFUNCTION.md: add result code on failure Closes #15542 --- diff --git a/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md b/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md index 8024a9a897..bb9bb822e9 100644 --- a/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md +++ b/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md @@ -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: