gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 175/222: tool_operate: Fix retry sleep time shown to user when R


From: gnunet
Subject: [gnurl] 175/222: tool_operate: Fix retry sleep time shown to user when Retry-After
Date: Thu, 07 Nov 2019 00:11:11 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit fe5c2464db11a2a4ec035def144635b5f1295885
Author: Stian Soiland-Reyes <address@hidden>
AuthorDate: Wed Oct 16 14:35:56 2019 +0100

    tool_operate: Fix retry sleep time shown to user when Retry-After
    
    - If server header Retry-After is being used for retry sleep time then
      show that value to the user instead of the normal retry sleep time.
    
    This is a follow-up to 640b973 (7.66.0) which changed curl tool so that
    the value from Retry-After header overrides other retry timing options.
    
    Closes https://github.com/curl/curl/pull/4498
---
 src/tool_operate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tool_operate.c b/src/tool_operate.c
index b82a6672d..3087d2d14 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -529,7 +529,7 @@ static CURLcode post_per_transfer(struct GlobalConfig 
*global,
       warnf(config->global, "Transient problem: %s "
             "Will retry in %ld seconds. "
             "%ld retries left.\n",
-            m[retry], per->retry_sleep/1000L, per->retry_numretries);
+            m[retry], sleeptime/1000L, per->retry_numretries);
 
       per->retry_numretries--;
       tool_go_sleep(sleeptime);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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