mirror of
https://github.com/curl/curl.git
synced 2026-04-22 04:52:36 +03:00
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
This commit is contained in:
parent
4cce314a39
commit
a7e6c78bfa
2 changed files with 2 additions and 2 deletions
|
|
@ -19,4 +19,4 @@ Example:
|
|||
When asked to do parallel transfers, using --parallel, this option controls
|
||||
the maximum amount of transfers to do simultaneously.
|
||||
|
||||
The default is 50. 300 is the largest supported value.
|
||||
The default is 50. 65535 is the largest supported value.
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#define RETRY_SLEEP_DEFAULT 1000L /* ms */
|
||||
#define RETRY_SLEEP_MAX 600000L /* ms == 10 minutes */
|
||||
|
||||
#define MAX_PARALLEL 300 /* conservative */
|
||||
#define MAX_PARALLEL 65535
|
||||
#define PARALLEL_DEFAULT 50
|
||||
|
||||
#endif /* HEADER_CURL_TOOL_MAIN_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue