DN/External/curl-8.17.0/docs/cmdline-opts/parallel-max-host.md

832 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-host <num> Maximum connections to a single host 8.16.0 connection curl global single global
parallel
parallel-max
--parallel-max-host 5 -Z $URL ftp://example.com/

--parallel-max-host

When asked to do parallel transfers, using --parallel, this option controls the maximum amount of concurrent connections curl is allowed to do to the same protocol + hostname + port number target.

The limit is enforced by libcurl and queued "internally", which means that transfers that are waiting for an available connection still look like started transfers in the progress meter.

The default is 0 (unlimited). 65535 is the largest supported value.