I did this
Make a CURLOPT_WRITEFUNCTION callback that returns CURL_WRITEFUNC_ERROR in order to abort the curl session.
For instance, if a large download need to be aborted without errors by user.
I expected the following

The cURL session must return CURLE_ABORTED_BY_CALLBACK.
curl/libcurl version
lib environment, last version
operating system
Unix ARM.
I did this
Make a
CURLOPT_WRITEFUNCTIONcallback that returnsCURL_WRITEFUNC_ERRORin order to abort the curl session.For instance, if a large download need to be aborted without errors by user.
I expected the following
The cURL session must return
CURLE_ABORTED_BY_CALLBACK.curl/libcurl version
lib environment, last version
operating system
Unix ARM.