]> granicus.if.org Git - curl/commit
curl: create easy handles on-demand and not ahead of time
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Sep 2019 15:11:22 +0000 (17:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Oct 2019 05:50:32 +0000 (07:50 +0200)
commite59371a4936f8e7e2187b09a08d34d9a4c278657
tree42dd007c9b136a2282605373a06f23409a3b6941
parentc124e6b3c04bfd254e24312bc66c2bc9db919442
curl: create easy handles on-demand and not ahead of time

This should again enable crazy-large download ranges of the style
[1-10000000] that otherwise easily ran out of memory starting in 7.66.0
when this new handle allocating scheme was introduced.

Reported-by: Peter Sumatra
Fixes #4393
Closes #4438
src/tool_cfgable.h
src/tool_metalink.c
src/tool_operate.c
src/tool_operhlp.c
src/tool_setopt.h
src/tool_urlglob.c
tests/data/test62