curl-library
Re: Wrong behavior when activate the LOW_SPEED_LIMIT and LOW_SPEED_TIME
Date: Mon, 24 Sep 2012 15:29:40 +0800
I re-try the sample using correct data type. it still happen.
curl_off_t speed_limit = 1024;
curl_easy_setopt(handle_curl, CURLOPT_MAX_RECV_SPEED_LARGE,
speed_limit);
curl_easy_setopt(handle_curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(handle_curl, CURLOPT_LOW_SPEED_LIMIT, 1L);
curl_easy_setopt(handle_curl, CURLOPT_LOW_SPEED_TIME, 60L);
2012/9/24 Daniel Stenberg <daniel_at_haxx.se>
> On Mon, 24 Sep 2012, Jie He wrote:
>
> yes, in my project, I used the correct data type.
>>
>> just here, the sample, I did that just for convenience;
>>
>
> So if you use the wrong type in the sample, how do you know it fails the
> same way?
>
> --
>
> / daniel.haxx.se
>
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>
-- Best Regards He Jie ╨н╫э
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-24