← Commit list

5914b9c66f

Daniel Stenberg
Daniel Stenberg
2025-12-15
SUCCESS Duration: 214s

Subject

TODO: consider a multi-threaded curl tool

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/TODO.md+11 -0
@@ -703,6 +703,17 @@ follow suite.
# Command line tool
+## multi-threading
+
+When asked to do transfers in parallel, the curl tool could be extended to use
+a number of independent worker threads. This would allow faster transfers in
+situations where curl becomes CPU bound.
+
+Ideally, curl would (with permission) fire up new threads on demand when it
+deems that it might be helpful. Perhaps, if it has more transfers to add and
+the existing transfers make the CPU busy enough and there are more cores
+available.
+
## sync
`curl --sync http://example.com/feed[1-100].rss` or