curl-library
CURL_WRITEFUNC_ABORT for CURLOPT_WRITEFUNCTION
From: Carlos Alloatti <calloatti_at_gmail.com>
Date: Sun, 28 Sep 2008 04:55:34 -0300
Date: Sun, 28 Sep 2008 04:55:34 -0300
Is there any reason why there is no CURL_READFUNC_ABORT equivalent for
the CURLOPT_WRITEFUNCTION?
Maybe CURL_WRITEFUNC_ABORT could be added?
The reason is to be able to abort a download in the write callback,
and instead of getting a "Failed writing received data to
disk/application" error, get a CURLE_ABORTED_BY_CALLBACK error code.
-- Carlos AlloattiReceived on 2008-09-28