gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 49/125: RESOLVE: output verbose text when trying to


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 49/125: RESOLVE: output verbose text when trying to set a duplicate name
Date: Sun, 21 Jan 2018 23:41:44 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit b1b94305d896e4204159871318d6d08109b44764
Author: Daniel Stenberg <address@hidden>
AuthorDate: Sun Dec 10 00:41:57 2017 +0100

    RESOLVE: output verbose text when trying to set a duplicate name
    
    ... to help users understand what is or isn't done!
---
 lib/hostip.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/hostip.c b/lib/hostip.c
index ee2d4d2b5..886aeec42 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -877,9 +877,12 @@ CURLcode Curl_loadhostpairs(struct Curl_easy *data)
           dns->inuse--;
         }
       }
-      else
+      else {
         /* this is a duplicate, free it again */
+        infof(data, "RESOLVE %s:%d is already cached, %s not stored!\n",
+              hostname, port, address);
         Curl_freeaddrinfo(addr);
+      }
 
       if(data->share)
         Curl_share_unlock(data, CURL_LOCK_DATA_DNS);

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



reply via email to

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