From c14a9c8124e2e9dc07c17bfc331f546c0942e6e0 Mon Sep 17 00:00:00 2001 From: Logan Buth Date: Thu, 7 Nov 2024 23:58:17 -0600 Subject: [PATCH] CURLOPT_PREREQFUNCTION.md: add result code on failure Closes #15542 --- docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: