cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Using CURLOPT_MAX_RECV_SPEED_LARGE

From: Thiru balaji <thirubalajis_at_gmail.com>
Date: Wed, 16 Dec 2015 15:22:47 +0530

Hi Daniel,

Thanks, that more relaxing.

Thanks
Thiru balaji.S

On Wed, Dec 16, 2015 at 3:03 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 16 Dec 2015, Thiru balaji wrote:
>
> To limit the download speed, I am using "CURLOPT_MAX_RECV_SPEED_LARGE".
>> In my configuration I also use CURLOPT_BUFFERSIZE.
>>
>> After setting this configuration I see some logs such as
>> * STATE: PERFORM => TOOFAST handle 0x13fa4fc; line 1472 (connection #1)
>> * STATE: TOOFAST => PERFORM handle 0x13fa4fc; line 1443 (connection #1)
>> * STATE: PERFORM => TOOFAST handle 0x13fa4fc; line 1472 (connection #1)
>>
>> pumped from curl when verbose is enabled.
>>
>> value I set for CURLOPT_MAX_RECV_SPEED_LARGE is 1310720 (10Mb/s)
>> and for CURLOPT_BUFFERSIZE its 4K.
>>
>> Do let me know whether its a warning from curl.
>>
>
> It's a message, nothing else - meant to help us debug and understand
> what's going on during a transfer. It shows the multi state machine
> transitions for the easy handle. You only get those when you built libcurl
> with debug messages present as it is ifdef'ed on the DEBUGBUILD symbol in
> the code.
>
> So it shows you that libcurl did hit the speed limit and took action!
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-12-16