]> granicus.if.org Git - curl/commitdiff
TODO: Introduce --fail-fast to exit on first transfer fail
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 Oct 2016 15:45:06 +0000 (17:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 Oct 2016 15:45:06 +0000 (17:45 +0200)
See #1054

docs/TODO

index 24bbcd208fee74b94f8f0f309f5418abc0d86a6a..520d0fe25f640100464e030172abf70f1b07808e 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
  18.12 keep running, read instructions from pipe/socket
  18.13 support metalink in http headers
  18.14 --fail without --location should treat 3xx as a failure
+ 18.15 Introduce --fail-fast to exit on first transfer fail
 
  19. Build
  19.1 roffit
@@ -986,6 +987,14 @@ that doesn't exist on the server, just like --ftp-create-dirs.
  way to implement this is probably to add that new logic in the command line
  tool only and not in the underlying CURLOPT_FAILONERROR logic.
 
+18.15 Introduce --fail-fast to exit on first transfer fail
+
+ curl will transfer all URLs given on the command line one by one but only
+ returns the error code for the last transfer. Transfer failures on the first
+ ones will not be returned as error code etc to the shell. A --fail-fast
+ option would make curl exit and return an error for the first transfer that
+ fails.
+
 
 19. Build