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

Reply via email to