cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PATCH: Make rate-limitation logic smoother.

From: Ben Greear <greearb_at_candelatech.com>
Date: Wed, 24 Mar 2010 11:10:45 -0700

On 03/09/2010 01:01 PM, Ben Greear wrote:
> The old rate-limitation logic paused for 1 second. The attached patch
> calculates a better timeout based on requested speed and buffer size. I believe
> this will give smoother rate limitation performance.
>
> Please note that at very slow speeds, you need to use small-ish buffer
> sizes to get good smoothing.
>
> This patch is on top of my previous patches. It fixes a few compiler
> warnings
> as well.
>
> Please let me know if it needs any improvements to make it more acceptable.

Hello!

I wanted to follow up to see if you had a chance to look at this patch.
I think this is the only one remaining (others are already committed).

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-24