curl-library
Re: CURLOPT_MAX_RECV_SPEED_LARGE for the multi interface?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 18 Aug 2007 22:46:19 +0200 (CEST)
Date: Sat, 18 Aug 2007 22:46:19 +0200 (CEST)
On Sat, 18 Aug 2007, DarkOne The Masterthief wrote:
> I'm using the multi interface with several downloads and I need to limit the
> total amount of bandwidth they can use. Basically I need the
> CURLOPT_MAX_RECV_SPEED_LARGE option but for the multi interface. Splitting
> the bandwidth evenly between the downloads is not a solution, because if I
> set the limit to, say, 150 KB/s with two simultanious downloads and one of
> them can't go beyond 30 KB/s the other one should be able to utilize the
> other 120 KB/s. How can I do this with cURL?
The multi interface offers no such option/feature as of today, so you'd either
have to make it done in your application, or you need to implement the feature
in libcurl...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-08-18