curl/docs/cmdline-opts/parallel-max.md
Daniel Stenberg a7e6c78bfa
parallel-max: bump the max value to 65535
When doing HTTP/2 and HTTP/3, it is possible to achieve quite a massive
parallelism so limiting this to 300 seems restrictive.

With other protocols, going beyond 300-400 might not be recommended but
curl does not have to enforce the limit.

Closes #18068
2025-07-29 09:11:19 +02:00

542 B

c SPDX-License-Identifier Long Arg Help Added Category Multi Scope See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl parallel-max <num> Maximum concurrency for parallel transfers 7.66.0 connection curl global single global
parallel
--parallel-max 100 -Z $URL ftp://example.com/

--parallel-max

When asked to do parallel transfers, using --parallel, this option controls the maximum amount of transfers to do simultaneously.

The default is 50. 65535 is the largest supported value.