gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated (fa7890cc5 -> 5acfa2260)


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated (fa7890cc5 -> 5acfa2260)
Date: Sun, 17 Feb 2019 20:21:59 +0100

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

martin-schanzenbach pushed a change to branch master
in repository gnunet.

    from fa7890cc5 guile 1.6.4 is an optional dependency
     new c9b7fe68a fix path length
     new f1706a083 Merge branch 'master' of git+ssh://gnunet.org/gnunet
     new 414f65c2d attempt fix #5578
     new 5acfa2260 Merge branch 'master' of git+ssh://gnunet.org/gnunet

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/testing/testing.c              |  2 +-
 src/util/gnunet-service-resolver.c | 13 +++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/testing/testing.c b/src/testing/testing.c
index b34815364..899ac2865 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -786,7 +786,7 @@ update_config (void *cls,
   struct UpdateContext *uc = cls;
   unsigned int ival;
   char cval[12];
-  char uval[128];
+  char uval[PATH_MAX];
   char *single_variable;
   char *per_host_variable;
   unsigned long long num_per_host;
diff --git a/src/util/gnunet-service-resolver.c 
b/src/util/gnunet-service-resolver.c
index 79108ff2d..a1d4d0b45 100644
--- a/src/util/gnunet-service-resolver.c
+++ b/src/util/gnunet-service-resolver.c
@@ -814,9 +814,18 @@ handle_resolve_result (void *cls,
                "DNS reply (hostname %s, request ID %u) contains no answers\n",
                 al->hostname,
                (unsigned int) al->client_request_id);
+    /* resume by trying again from cache */
+    if (GNUNET_NO ==
+      try_cache (al->hostname,
+                 al->record_type,
+                 al->client_request_id,
+                 al->client))
+    /* cache failed, tell client we could not get an answer */
+    {
+      send_end_msg (al->client_request_id,
+                    al->client);
+    }
     GNUNET_DNSPARSER_free_packet (parsed);
-    send_end_msg (al->client_request_id,
-                  al->client);
     free_active_lookup (al);
     return;
   }

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



reply via email to

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