cURL / Mailing Lists / curl-library / Single Mail

curl-library

Fwd: Using CURLOPT_MAX_RECV_SPEED_LARGE

From: Thiru balaji <thirubalajis_at_gmail.com>
Date: Wed, 16 Dec 2015 11:46:02 +0530

Hi,

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.

Thanks
Thiru balaji.S

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