curl/src
Stefan Eissing eb73af253c
tool: fix memory use in parallel mode
The curl tool was creating a new transfer every time it checked if
it needed to add one to reach max parallelism. This led to eventually
all configured transfers to have easy handles created.

Limit the creation again to the ones needed for max parallelism.

scorecard.py: set --out-null only for curl versions that support it

Closes #22277
2026-07-12 17:50:02 +02:00
..
toolx lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
.checksrc checksrc: disallow atoi and atol globally 2025-11-13 14:28:25 +01:00
.gitignore rtmp: remove no longer used proto member 2025-05-08 10:24:19 +02:00
CMakeLists.txt cmake: drop support for CMake 3.17 and older 2026-03-21 13:24:47 +01:00
config2setopts.c TLS: drop support for TLS-SRP 2026-07-04 12:20:20 +02:00
config2setopts.h curl: remove the global argument from many functions 2025-07-10 23:28:31 +02:00
curl.rc build: merge TrackMemory (CURLDEBUG) into debug-enabled option 2026-01-19 18:43:17 +01:00
curlinfo.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
Makefile.am Makefile.am: replace stray := with = [ci skip] 2026-04-06 02:52:08 +02:00
Makefile.inc tidy-up: prefer spelling 'flavor', where missing 2026-06-15 03:28:42 +02:00
mk-file-embed.pl src: simplify declaring curl_ca_embed 2026-02-15 12:48:46 +01:00
mkhelp.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
slist_wc.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
slist_wc.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
terminal.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
terminal.h curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_cb_dbg.c tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
tool_cb_dbg.h
tool_cb_hdr.c tool_cb_hdr: de-duplicate filename setter 2026-07-01 12:12:37 +02:00
tool_cb_hdr.h tool_cb_hrd: remove global pointer from 'struct HdrCbData' 2025-08-05 15:47:56 +02:00
tool_cb_prg.c tool: init progress bar on demand 2026-06-25 11:09:19 +02:00
tool_cb_prg.h tidy-up: miscellaneous 2025-12-18 21:27:58 +01:00
tool_cb_rea.c socket: introduce SOCK_EAGAIN() and use it 2026-06-12 23:27:23 +02:00
tool_cb_rea.h
tool_cb_see.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
tool_cb_see.h tidy-up: miscellaneous 2026-01-15 13:06:13 +01:00
tool_cb_soc.c checksrc: ensure using ifdef/ifndef when possible, fix fallouts 2025-12-21 21:12:31 +01:00
tool_cb_soc.h curl: (on linux) add MPTCP support 2024-06-07 10:54:19 +02:00
tool_cb_wrt.c tidy-up: use uppercase TRUE/FALSE where missing 2026-06-09 12:52:08 +02:00
tool_cb_wrt.h
tool_cfgable.c TLS: drop support for TLS-SRP 2026-07-04 12:20:20 +02:00
tool_cfgable.h TLS: drop support for TLS-SRP 2026-07-04 12:20:20 +02:00
tool_dirhie.c tool_dirhie: fix to create drive-relative directory 2026-04-27 12:09:09 +02:00
tool_dirhie.h tool_dirhie: fix to create drive-relative directory 2026-04-27 12:09:09 +02:00
tool_doswin.c tidy-up: drop redundant == NULL syntax 2026-06-09 14:37:36 +02:00
tool_doswin.h tool: improve error/warning messages when output filename sanitization fails 2026-01-10 13:21:27 +01:00
tool_easysrc.c tool: rename curl handle and result variable in --libcurl-generated code 2026-01-26 13:21:46 +01:00
tool_easysrc.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
tool_filetime.c clang-tidy: drop redundant casts 2026-02-19 15:27:17 +01:00
tool_filetime.h tool_filetime: sync dummy macro signature with function prototype 2026-01-12 16:29:32 +01:00
tool_findfile.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
tool_findfile.h
tool_formparse.c tidy-up: drop stray casts for allocated pointers 2026-06-05 12:24:01 +02:00
tool_formparse.h tool_formparse: polish error message + make two functions static 2026-05-06 09:15:03 +02:00
tool_getparam.c TLS: drop support for TLS-SRP 2026-07-04 12:20:20 +02:00
tool_getparam.h HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
tool_getpass.c tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
tool_getpass.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
tool_help.c tool_help: rectify a bad assert 2026-06-02 08:45:48 +02:00
tool_help.h tool_help.h: drop redundant U suffix from literals 2026-01-29 22:53:22 +01:00
tool_helpers.c tool: improve config error messaging 2026-02-22 14:56:07 +01:00
tool_helpers.h build: use more const 2026-02-02 12:32:49 +01:00
tool_hugehelp.h build: drop tool_hugehelp.c.cvs, tidy up macros, drop buildconf.bat 2025-01-26 14:22:49 +01:00
tool_ipfs.c tidy-up: rename Curl_safefree()/tool_safefree() to curlx_safefree() 2026-04-01 19:53:53 +02:00
tool_ipfs.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_libinfo.c TLS: drop support for TLS-SRP 2026-07-04 12:20:20 +02:00
tool_libinfo.h TLS: drop support for TLS-SRP 2026-07-04 12:20:20 +02:00
tool_listhelp.c HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
tool_main.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
tool_main.h src: fix formatting nits 2025-12-03 20:50:18 +01:00
tool_msgs.c tool_msgs: avoid null pointer deref for early errors 2026-03-18 10:40:19 +01:00
tool_msgs.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_operate.c tool: fix memory use in parallel mode 2026-07-12 17:50:02 +02:00
tool_operate.h Revert "tool: add a retry delay for transfers to same origin on 429" 2026-06-01 09:28:31 +02:00
tool_operhlp.c tool_operhlp: avoid NULL to %s 2026-06-02 08:48:19 +02:00
tool_operhlp.h tool: improve error/warning messages when output filename sanitization fails 2026-01-10 13:21:27 +01:00
tool_paramhlp.c clang-tidy: enable more checks, fix fallouts 2026-04-14 02:20:16 +02:00
tool_paramhlp.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
tool_parsecfg.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
tool_parsecfg.h tool: log when loading .curlrc in verbose mode 2025-11-25 16:06:27 +01:00
tool_progress.c lib: move all UNITTEST prototypes to C files 2026-03-20 07:47:57 +01:00
tool_progress.h lib: move all UNITTEST prototypes to C files 2026-03-20 07:47:57 +01:00
tool_sdecls.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
tool_setopt.c config2setopt.c: refactor config2setopts 2026-06-29 22:24:57 +02:00
tool_setopt.h config2setopt.c: refactor config2setopts 2026-06-29 22:24:57 +02:00
tool_setup.h AmigaOS: fix build fallouts, re-add to CI 2026-06-12 20:27:44 +02:00
tool_ssls.c tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
tool_ssls.h src: drop unused includes 2025-12-25 18:42:54 +01:00
tool_stderr.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
tool_stderr.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_urlglob.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
tool_urlglob.h curl: named globs in output file name for upload glob references 2026-05-13 10:07:50 +02:00
tool_util.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
tool_util.h build: drop Windows CE / CeGCC support 2025-11-15 15:35:23 +01:00
tool_version.h src: fix formatting nits 2025-12-03 20:50:18 +01:00
tool_vms.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
tool_vms.h clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
tool_writeout.c tool_writeout: fix %time{} output for %s 2026-06-16 10:17:43 +02:00
tool_writeout.h progress: count amount of data "delivered" to application 2026-03-21 23:21:55 +01:00
tool_writeout_json.c tidy-up: use uppercase TRUE/FALSE where missing 2026-06-09 12:52:08 +02:00
tool_writeout_json.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_xattr.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_xattr.h src: fix formatting nits 2025-12-03 20:50:18 +01:00
var.c tidy-up: use uppercase TRUE/FALSE where missing 2026-06-09 12:52:08 +02:00
var.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00