curl / Mailing Lists / curl-library / Single Mail


Re: libcurl fread/send buffer size

From: Daniel Stenberg <>
Date: Wed, 14 Feb 2018 08:17:06 +0100 (CET)

On Tue, 13 Feb 2018, Biju N wrote:

> can you share on what condition this calculation will be used to set the
> buffer size?
> f52f2a78c1/src/tool_operate.c#L822

That's the curl tool that sets a smaller than its default (100K) buffer size
if you ask for the transfer speed to be capped to a lower speed than so (per
second). It's just a help to make it reach a stable speed faster, its not
really necessary.

Received on 2018-02-14