gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 97/411: curl: in retry output don't call all problems "transient


From: gnunet
Subject: [gnurl] 97/411: curl: in retry output don't call all problems "transient"
Date: Wed, 13 Jan 2021 01:18:32 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 6ecb63e493fd64855961758ca1b448d03f59a16b
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Sat Sep 5 15:46:55 2020 +0200

    curl: in retry output don't call all problems "transient"
    
    ... because when --retry-all-errors is used, the error isn't necessarily
    transient at all.
    
    Closes #5916
---
 src/tool_operate.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/tool_operate.c b/src/tool_operate.c
index 517ad1f62..39200dcd2 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -512,10 +512,10 @@ static CURLcode post_per_transfer(struct GlobalConfig 
*global,
       static const char * const m[]={
         NULL,
         "(retrying all errors)",
-        "timeout",
-        "connection refused",
-        "HTTP error",
-        "FTP error"
+        ": timeout",
+        ": connection refused",
+        ": HTTP error",
+        ": FTP error"
       };
 
       sleeptime = per->retry_sleep;
@@ -529,7 +529,7 @@ static CURLcode post_per_transfer(struct GlobalConfig 
*global,
             sleeptime = (long)retry_after * 1000; /* milliseconds */
         }
       }
-      warnf(config->global, "Transient problem: %s "
+      warnf(config->global, "Problem %s. "
             "Will retry in %ld seconds. "
             "%ld retries left.\n",
             m[retry], sleeptime/1000L, per->retry_numretries);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]