Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CURLOPT_WRITEFUNCTION.3: clarify return code for CURL_WRITEFUNC_ERROR #12203

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ that amount differs from the amount passed to your callback function, it
signals an error condition to the library. This causes the transfer to get
aborted and the libcurl function used returns \fICURLE_WRITE_ERROR\fP.

You can also abort the transfer by returning CURL_WRITEFUNC_ERROR. (7.87.0)
You can also abort the transfer by returning CURL_WRITEFUNC_ERROR (added in
7.87.0), which makes \fICURLE_WRITE_ERROR\fP get returned.

If the callback function returns CURL_WRITEFUNC_PAUSE it pauses this
transfer. See \fIcurl_easy_pause(3)\fP for further details.
Expand Down