cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: CURLOPT_MAX_RECV_SPEED_LARGE, curl_multi_socketandcurl_multi_socket_all

From: Josh Handley <Josh.Handley_at_hillcrestlabs.com>
Date: Fri, 13 Jun 2008 11:29:28 -0400

Good point. I am building libcurl and my app with the same settings.
Added debug printouts to both and verified that the size is bytes in
both.

Thanks,

Josh

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
Sent: Wednesday, June 11, 2008 7:16 PM
To: curl-library_at_cool.haxx.se
Subject: Re: CURLOPT_MAX_RECV_SPEED_LARGE,
curl_multi_socketandcurl_multi_socket_all

On Wed, Jun 11, 2008 at 06:48:39PM -0400, Josh Handley wrote:
> I'm declaring at as a curl_off_t so the size should be ok. Units
passed
> are bytes per second as in the doc.

It's only OK if libcurl and your app were both compiled with the same
idea of the size of curl_off_t. In some cases they can be different.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address
service
          Let webmasters know that your web site has moved
Received on 2008-06-13