gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 156/411: easy_reset: clear retry counter


From: gnunet
Subject: [gnurl] 156/411: easy_reset: clear retry counter
Date: Wed, 13 Jan 2021 01:19:31 +0100

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

nikita pushed a commit to branch master
in repository gnurl.

commit 7921b41ce1b0d8bf8ebe42456116c6b2fece485d
Author: Quentin Balland <quentin.balland@inait.ai>
AuthorDate: Thu Sep 17 17:31:23 2020 +0200

    easy_reset: clear retry counter
    
    Closes #5975
    Fixes #5974
---
 lib/easy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/easy.c b/lib/easy.c
index 4da26f914..87f9b0d99 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -969,6 +969,7 @@ void curl_easy_reset(struct Curl_easy *data)
 
   data->progress.flags |= PGRS_HIDE;
   data->state.current_speed = -1; /* init to negative == impossible */
+  data->state.retrycount = 0;     /* reset the retry counter */
 
   /* zero out authentication data: */
   memset(&data->state.authhost, 0, sizeof(struct auth));

-- 
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]