gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: first try raw, unexpanded n


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: first try raw, unexpanded name
Date: Sun, 24 Feb 2019 08:17:25 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new a69123887 first try raw, unexpanded name
a69123887 is described below

commit a69123887e250ede1cc83f7096f160e5b896f2d5
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 24 08:17:22 2019 +0100

    first try raw, unexpanded name
---
 src/util/gnunet-service-resolver.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/util/gnunet-service-resolver.c 
b/src/util/gnunet-service-resolver.c
index 0df213588..336e35f94 100644
--- a/src/util/gnunet-service-resolver.c
+++ b/src/util/gnunet-service-resolver.c
@@ -1037,6 +1037,12 @@ process_get (const char *hostname,
 {
   char fqdn[255];
 
+  if (GNUNET_NO !=
+      try_cache (hostname,
+                 record_type,
+                 client_request_id,
+                 client))
+    return;
   if (  (NULL != my_domain) &&
         (NULL == strchr (hostname,
                          (unsigned char) '.')) &&
@@ -1152,6 +1158,9 @@ handle_get (void *cls,
   {
     /* IP from hostname */
     hostname = GNUNET_strdup ((const char *) &msg[1]);
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+               "Client asks to resolve `%s'\n",
+               hostname);
     switch (af)
     {
       case AF_UNSPEC:

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



reply via email to

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