check_PROGRAMS = \
test_gnunet_daemon_hostlist
-# TESTS = $(check_PROGRAMS)
+TESTS = $(check_PROGRAMS)
test_gnunet_daemon_hostlist_SOURCES = \
test_gnunet_daemon_hostlist.c
hostlist_delay.value,
GNUNET_YES);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- _("Will consider downloading hostlist in %llums\n"),
+ _("Have %u/%u connections. Will consider downloading hostlist in %llums\n"),
+ connection_count,
+ MIN_CONNECTIONS,
(unsigned long long) delay.value);
current_task = GNUNET_SCHEDULER_add_delayed (sched,
delay,
method);
return MHD_NO;
}
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- _("Received request for our hostlist\n"));
if (NULL == *con_cls)
{
(*con_cls) = &dummy;
_("Could not handle hostlist request since I do not have a response yet\n"));
return MHD_NO; /* internal error, no response yet */
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ _("Received request for our hostlist\n"));
return MHD_queue_response (connection, MHD_HTTP_OK, response);
}
#include "gnunet_arm_service.h"
#include "gnunet_transport_service.h"
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
#define START_ARM GNUNET_YES
timeout_task);
timeout_task = GNUNET_SCHEDULER_NO_TASK;
}
- GNUNET_SCHEDULER_add_delayed (sched,
- GNUNET_TIME_UNIT_MINUTES,
- &clean_up, NULL);
+ GNUNET_SCHEDULER_add_now (sched,
+ &clean_up, NULL);
}
[transport]
PORT = 12965
PLUGINS = tcp
-DEBUG = YES
+#DEBUG = YES
[arm]
PORT = 12966
[core]
PORT = 12970
-DEBUG = YES
-PREFIX = valgrind --tool=memcheck
+#DEBUG = YES
+#PREFIX = valgrind --tool=memcheck
[testing]
WEAKRANDOM = YES
HTTPPORT = 12980
SERVERS = http://localhost:12981/
OPTIONS = -b -p
-DEBUG = YES
+#DEBUG = YES
#BINARY = /home/grothoff/bin/gnunet-daemon-hostlist
[topology]
-DEBUG = YES
-PREFIX = valgrind --tool=memcheck
+#DEBUG = YES
+#PREFIX = valgrind --tool=memcheck
[transport]
PORT = 22965
PLUGINS = tcp
-DEBUG = YES
+#DEBUG = YES
[arm]
PORT = 22966
[core]
PORT = 22970
-DEBUG = YES
-PREFIX = valgrind --tool=memcheck
+#DEBUG = YES
+#PREFIX = valgrind --tool=memcheck
[testing]
WEAKRANDOM = YES
HTTPPORT = 12981
SERVERS = http://localhost:12980/
OPTIONS = -b -p
-DEBUG = YES
+#DEBUG = YES
#BINARY = /home/grothoff/bin/gnunet-daemon-hostlist
[topology]
-DEBUG = YES
-PREFIX = valgrind --tool=memcheck
+#DEBUG = YES
+#PREFIX = valgrind --tool=memcheck