curl-library
Re: Bandwidth/rate limitation
Date: Tue, 10 Aug 2004 15:05:58 +0200 (CEST)
On Tue, 10 Aug 2004, Evil Kosh wrote:
> One further question, can this option be called DURING a transfer? or can it
> only be called before it starts?
Set it before a transfer. I think you'll get some odd effects if you set it
during one.
> Perhaps I can dynamically set this option, which would be great! otherwise,
> I'll have to pick a minimum value and deal with it.
Aha, you mean you will adjust the rate limit during the transfer?
> I'm wondering about how the overhead could possibily affect the cpu usage or
> bandwidth I have available. Could having a smaller value start any nasty
> consequences in your opinion?
The smaller buffer you use, the more CPU will be used per amount of data. But
I doubt you can ever measure the differancies for most use-cases.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-08-10