curl / Mailing Lists / curl-library / Single Mail


Re: Windows users! Help us test upload performance tuning?

From: Daniel Stenberg via curl-library <>
Date: Tue, 14 Aug 2018 16:30:44 +0200 (CEST)

On Tue, 14 Aug 2018, Jan Ehrhardt via curl-library wrote:

> Thanks for the stats. It indicates that my choice for 320 KB in the iOS app
> (using sftp) is quite good.

I would like us to...

1. Change to alloc-on-demand for this buffer. It is used for a few non-upload
things, but it only needs to be this big for actual uploads, and most
transfers are not. That'll save (almost) 16KB for all download-only handles.

2. Enlarge the default upload buffer size to 64KB.

3. Add a CURLOPT_UPLOADBUFFERSIZE option that allows users to set their
preferred size, from 16KB up to perhaps a few megabytes.

> I remembered reading something about this, but it doesn't seem related (and
> was resolved anyway). But maybe it gives a clue:

Okay! I'm also quite sure we have some optimizations left to do in the libcurl
side of the HTTP/2 transfers...

Received on 2018-08-14