gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 45/153: retry: return error if rewind was necessary


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 45/153: retry: return error if rewind was necessary but didn't happen
Date: Tue, 11 Sep 2018 12:51:56 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit d6cf93011d8f9962c763cab4e8aa975567f6ea69
Author: Daniel Jelinski <address@hidden>
AuthorDate: Mon Jul 30 09:30:10 2018 +0200

    retry: return error if rewind was necessary but didn't happen
    
    Fixes #2801
    Closes #2812
---
 lib/multi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/multi.c b/lib/multi.c
index 70a406078..ee8be3971 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1949,6 +1949,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
         CURLcode ret = Curl_retry_request(data->easy_conn, &newurl);
         if(!ret)
           retry = (newurl)?TRUE:FALSE;
+        else if(!result)
+          result = ret;
 
         if(retry) {
           /* if we are to retry, set the result to OK and consider the

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



reply via email to

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