cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: frequency of progress callback

From: Wei Weng <wweng_at_kencast.com>
Date: Thu, 30 Oct 2003 10:36:43 -0500 (EST)

<snip>
 
> > What if the size of the file is a 64 bit integer?
> > The progress callback function only has double as dl/up size data type.
>
> libcurl doesn't support file sizes bigger than 2GB. We need to fix this, and I
> welcome all help I can get.
>
> And when we fix this, we will need to change the variable types provided to
> the progress callback, yes. I would say we will solve that issue by
> introducing a new CURLOPT_ option that gets called with the larger variable
> type, to remain backwards compatible with older apps.
>
>

I looked up in april 2002 MSDN (From the CDs), and the data type double is
a 64 bit float point.

Wei

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-10-30