diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-28 18:30:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-29 23:18:18 +0200 |
commit | 3e7eb97abde1197d4be096dd1b2d8407eee2acce (patch) | |
tree | 76e44b13315c94c2af250d51273b3526b03becec /docs | |
parent | d618986a1cbaf5826dbb12fe0544c645906810a6 (diff) | |
download | curl-bagder/dlbuffer-on-demand.tar.gz |
url: alloc the download buffer at transfer startbagder/dlbuffer-on-demand
... and free it as soon as the transfer is done. It removes the extra
alloc when a new size is set with setopt() and reduces memory for unused
easy handles.
In addition: the closure_handle now doesn't use an allocated buffer at
all but the smallest supported size as a stack based one.
Closes #5472
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions