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...