diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-10-06 17:45:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-06 17:45:06 +0200 |
commit | 13f3912471b8b34d8c3b7e188c1e01a25925e706 (patch) | |
tree | 50bb864a07d9ca9e6bffae8dc489f165aea63c74 /docs | |
parent | da1a2d1ac8d49e519cfa5928689fd313f4ba71d7 (diff) |
TODO: Introduce --fail-fast to exit on first transfer fail
See #1054
Diffstat (limited to 'docs')
-rw-r--r-- | docs/TODO | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -149,6 +149,7 @@ 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 |