From 13f3912471b8b34d8c3b7e188c1e01a25925e706 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 6 Oct 2016 17:45:06 +0200 Subject: TODO: Introduce --fail-fast to exit on first transfer fail See #1054 --- docs/TODO | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/TODO b/docs/TODO index 24bbcd208..520d0fe25 100644 --- a/docs/TODO +++ b/docs/TODO @@ -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 -- cgit v1.2.3