cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Aborting Data Transfer using libcurl

From: Wei Weng <wweng_at_kencast.com>
Date: Mon, 8 Dec 2003 10:47:36 -0500

On Monday 08 December 2003 08:48 am, Pravin Jade wrote:
> Hi,
>
> I am making PROGRESS_CALLBACK to return non-zero value to abort uploading
> of file.But I suspect PROGRESS_CALLBACK is not being called at regular
> interval.So sometimes it aborts uploading after all data has been uploaded,
> which is of no use.

I am using abortion in PROGRESS_CALLBACK, and from my observation, it seems
that it is being called every second or so.

Wei

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-08