gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35773 - in gnunet/src: gns util


From: gnunet
Subject: [GNUnet-SVN] r35773 - in gnunet/src: gns util
Date: Thu, 21 May 2015 15:53:52 +0200

Author: grothoff
Date: 2015-05-21 15:53:52 +0200 (Thu, 21 May 2015)
New Revision: 35773

Modified:
   gnunet/src/gns/gnunet-service-gns_resolver.c
   gnunet/src/gns/test_gns_cname_lookup.sh
   gnunet/src/gns/test_gns_gns2dns_lookup.sh
   gnunet/src/util/gnunet-resolver.c
Log:
-increase timeouts, some system really need longer

Modified: gnunet/src/gns/gnunet-service-gns_resolver.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns_resolver.c        2015-05-21 13:09:37 UTC 
(rev 35772)
+++ gnunet/src/gns/gnunet-service-gns_resolver.c        2015-05-21 13:53:52 UTC 
(rev 35773)
@@ -51,7 +51,7 @@
 /**
  * Default timeout for DNS lookups.
  */
-#define DNS_LOOKUP_TIMEOUT GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 5)
+#define DNS_LOOKUP_TIMEOUT GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 15)
 
 /**
  * Default timeout for VPN redirections.

Modified: gnunet/src/gns/test_gns_cname_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_cname_lookup.sh     2015-05-21 13:09:37 UTC (rev 
35772)
+++ gnunet/src/gns/test_gns_cname_lookup.sh     2015-05-21 13:53:52 UTC (rev 
35773)
@@ -34,7 +34,7 @@
 TEST_RECORD_NAME_SERVER="server"
 TEST_RECORD_NAME_PLUS="www"
 TEST_RECORD_NAME_DNS="www3"
-which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
+which timeout &> /dev/null && DO_TIMEOUT="timeout 15"
 
 gnunet-arm -s -c test_gns_lookup.conf
 gnunet-identity -C testego -c test_gns_lookup.conf

Modified: gnunet/src/gns/test_gns_gns2dns_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_gns2dns_lookup.sh   2015-05-21 13:09:37 UTC (rev 
35772)
+++ gnunet/src/gns/test_gns_gns2dns_lookup.sh   2015-05-21 13:53:52 UTC (rev 
35773)
@@ -50,7 +50,7 @@
 # map 'homepage.gnu' to 'gnunet.org' in DNS
 gnunet-namestore -p -z testego -a -n $TEST_RECORD_NAME -t GNS2DNS -V 
$TEST_RECORD_GNS2DNS -e never -c test_gns_lookup.conf
 
-which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
+which timeout &> /dev/null && DO_TIMEOUT="timeout 15"
 
 # lookup 'www.gnunet.org', IPv4
 RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_DOMAIN -t A -c 
test_gns_lookup.conf`

Modified: gnunet/src/util/gnunet-resolver.c
===================================================================
--- gnunet/src/util/gnunet-resolver.c   2015-05-21 13:09:37 UTC (rev 35772)
+++ gnunet/src/util/gnunet-resolver.c   2015-05-21 13:53:52 UTC (rev 35773)
@@ -27,7 +27,7 @@
 #include "gnunet_util_lib.h"
 #include "gnunet_resolver_service.h"
 
-#define GET_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1)
+#define GET_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
 
 /**
  * Flag for reverse lookup.




reply via email to

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