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:
Daniel Stenberg 2025-07-28 23:46:01 +02:00
parent 4cce314a39
commit a7e6c78bfa
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View file

@ -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 */