cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Limiting the rate of new connections

From: David Galeano <davidgaleano_at_hotmail.com>
Date: Sun, 6 Dec 2015 20:05:32 +0000

> Date: Sat, 5 Dec 2015 13:57:18 +0100
> From: daniel_at_haxx.se

> As we already have an internal queuing system to handle for example
> CURLMOPT_MAX_HOST_CONNECTIONS and CURLMOPT_MAX_TOTAL_CONNECTIONS, I don't
> think it would be overly complicated to add another option like
> CURLMOPT_MAX_CONNECT_RATE or something to perhaps set the maximum number of
> connections per second. Would it be enough with just such a knob for "max
> rate" or would we (you) need it to be more fancy?

I think CURLMOPT_MAX_CONNECT_RATE would be enough, thanks.
                                               

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