curl / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 18 Aug 2018 15:51:05 +0200 (CEST)

On Tue, 14 Aug 2018, Daniel Stenberg via curl-library wrote:

Update!

> 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.

These two steps have now been done and pushed to master.

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

I intend to write upp a pull-request for this and queue for merging in the
next feature window after the pending release on September 5.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-18