diff options
-rw-r--r-- | src/arm/arm.h | 2 | ||||
-rw-r--r-- | src/arm/gnunet-service-arm.c | 6 | ||||
-rw-r--r-- | src/arm/test_arm_api_data.conf | 2 | ||||
-rw-r--r-- | src/arm/test_exponential_backoff.c | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/src/arm/arm.h b/src/arm/arm.h index 562113068..2f107351c 100644 --- a/src/arm/arm.h +++ b/src/arm/arm.h | |||
@@ -31,6 +31,6 @@ | |||
31 | * This option will turn on the DEBUG loglevel for | 31 | * This option will turn on the DEBUG loglevel for |
32 | * all processes controlled by this ARM! | 32 | * all processes controlled by this ARM! |
33 | */ | 33 | */ |
34 | #define DEBUG_ARM GNUNET_NO | 34 | #define DEBUG_ARM GNUNET_YES |
35 | 35 | ||
36 | #endif | 36 | #endif |
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index 7a217b482..8b9138044 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c | |||
@@ -240,6 +240,11 @@ write_result (void *cls, size_t size, void *buf) | |||
240 | _("Could not send status result to client\n")); | 240 | _("Could not send status result to client\n")); |
241 | return 0; /* error, not much we can do */ | 241 | return 0; /* error, not much we can do */ |
242 | } | 242 | } |
243 | #if DEBUG_ARM | ||
244 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
245 | "Sending status response %u to client\n", | ||
246 | (unsigned int) *res); | ||
247 | #endif | ||
243 | GNUNET_assert (size >= sizeof (struct GNUNET_MessageHeader)); | 248 | GNUNET_assert (size >= sizeof (struct GNUNET_MessageHeader)); |
244 | msg = buf; | 249 | msg = buf; |
245 | msg->size = htons (sizeof (struct GNUNET_MessageHeader)); | 250 | msg->size = htons (sizeof (struct GNUNET_MessageHeader)); |
@@ -856,6 +861,7 @@ maint_child_death (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
856 | prev = pos; | 861 | prev = pos; |
857 | continue; | 862 | continue; |
858 | } | 863 | } |
864 | |||
859 | if (statusType == GNUNET_OS_PROCESS_EXITED) | 865 | if (statusType == GNUNET_OS_PROCESS_EXITED) |
860 | { | 866 | { |
861 | statstr = _( /* process termination method */ "exit"); | 867 | statstr = _( /* process termination method */ "exit"); |
diff --git a/src/arm/test_arm_api_data.conf b/src/arm/test_arm_api_data.conf index bdacfd476..11c5e2685 100644 --- a/src/arm/test_arm_api_data.conf +++ b/src/arm/test_arm_api_data.conf | |||
@@ -7,7 +7,7 @@ PORT = 23354 | |||
7 | DEFAULTSERVICES = | 7 | DEFAULTSERVICES = |
8 | BINARY = gnunet-service-arm | 8 | BINARY = gnunet-service-arm |
9 | OPTIONS = -L ERROR | 9 | OPTIONS = -L ERROR |
10 | #DEBUG = YES | 10 | DEBUG = YES |
11 | 11 | ||
12 | [resolver] | 12 | [resolver] |
13 | #DEBUG = YES | 13 | #DEBUG = YES |
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index 8f7017b77..92391ea40 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include "gnunet_configuration_lib.h" | 27 | #include "gnunet_configuration_lib.h" |
28 | #include "gnunet_program_lib.h" | 28 | #include "gnunet_program_lib.h" |
29 | 29 | ||
30 | #define VERBOSE GNUNET_NO | 30 | #define VERBOSE GNUNET_YES |
31 | #define START_ARM GNUNET_YES | 31 | #define START_ARM GNUNET_YES |
32 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) | 32 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) |
33 | #define SERVICE_TEST_TIMEOUT GNUNET_TIME_UNIT_FOREVER_REL | 33 | #define SERVICE_TEST_TIMEOUT GNUNET_TIME_UNIT_FOREVER_REL |