# `--parallel-immediate`
-When doing parallel transfers, this option instructs curl that it should
-rather prefer opening up more connections in parallel at once rather than
-waiting to see if new transfers can be added as multiplexed streams on another
-connection.
+When doing parallel transfers, this option instructs curl to prefer opening up
+more connections in parallel at once rather than waiting to see if new
+transfers can be added as multiplexed streams on another connection.
+
+By default, without this option set, curl prefers to wait a little and
+multiplex new transfers over existing connections. It keeps the number of
+connections low at the expense of risking a slightly slower transfer startup.
Added: 7.66.0
Category: connection curl
Multi: single
+Scope: global
See-also:
- parallel
Example:
When asked to do parallel transfers, using --parallel, this option controls
the maximum amount of transfers to do simultaneously.
-This option is global and does not need to be specified for each use of
---next.
+The default is 50. 300 is the largest supported value.
-The default is 50.
See-also:
- next
- verbose
+ - parallel-max
+ - parallel-immediate
Example:
- --parallel $URL -o file1 $URL -o file2
---
# `--parallel`
-Makes curl perform its transfers in parallel as compared to the regular serial
-manner.
+Makes curl perform all transfers in parallel as compared to the regular serial
+manner. Parallel transfer means that curl runs up to N concurrent transfers
+simultaneously and if there are more than N transfers to handle, it starts new
+ones when earlier transfers finish.
+
+With parallel transfers, the progress meter output is different than when
+doing serial transfers, as it then displays the transfer status for multiple
+transfers in a single line.
+
+The maximum amount of concurrent transfers is set with --parallel-max and it
+defaults to 50.