noverb
authorChristian Grothoff <christian@grothoff.org>
Fri, 21 May 2010 09:17:52 +0000 (09:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 21 May 2010 09:17:52 +0000 (09:17 +0000)
src/fs/fs_download.c
src/fs/fs_test_lib.c
src/fs/fs_test_lib_data.conf
src/fs/test_gnunet_service_fs_p2p.c

index dca419fd35a59be53cbcf629d5def41810c0a4dd..50edcb256ea2dd8f8092f80f0979a4b5b114c6d1 100644 (file)
@@ -33,7 +33,7 @@
 #include "fs.h"
 #include "fs_tree.h"
 
-#define DEBUG_DOWNLOAD GNUNET_NO
+#define DEBUG_DOWNLOAD GNUNET_YES
 
 /**
  * Determine if the given download (options and meta data) should cause
index fba44eaeb6fdcbaf2271e727d1cfcc6da6124c6f..a8db67c8c24b6534dc2501f59844039e4735343b 100644 (file)
@@ -192,6 +192,13 @@ progress_cb (void *cls,
                                         daemon,
                                         GNUNET_SCHEDULER_REASON_PREREQ_DONE);
       break;
+    case GNUNET_FS_STATUS_PUBLISH_PROGRESS:
+      if (daemon->verbose)
+       GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                   "Publishing at %llu/%llu bytes\n",
+                   (unsigned long long) info->value.publish.completed,
+                   (unsigned long long) info->value.publish.size);
+      break;
     case GNUNET_FS_STATUS_DOWNLOAD_PROGRESS:
       if (daemon->verbose)
        GNUNET_log (GNUNET_ERROR_TYPE_INFO,
index fca127312f3c6668e16325b81fe38bc6c25c5eeb..312ada627777c50f1630c5f76fd9465e53f27945 100644 (file)
@@ -12,7 +12,7 @@ HOSTNAME = localhost
 [transport]
 PORT = 43465
 PLUGINS = tcp
-#DEBUG = YES
+DEBUG = YES
 
 [arm]
 PORT = 43466
@@ -21,7 +21,7 @@ DEFAULTSERVICES = fs
 
 [datastore]
 #DEBUG = YES
-PREFIX = valgrind --tool=memcheck --leak-check=yes
+#PREFIX = valgrind --tool=memcheck --leak-check=yes
 
 [statistics]
 PORT = 43467
@@ -29,7 +29,7 @@ HOSTNAME = localhost
 
 [transport-tcp]
 TIMEOUT = 300000
-#PORT = 43468
+PORT = 43468
 
 [peerinfo]
 PORT = 43469
@@ -43,17 +43,17 @@ HOSTNAME = localhost
 TOTAL_QUOTA_IN = 3932160
 TOTAL_QUOTA_OUT = 3932160
 #DEBUG = YES
-PREFIX = valgrind --tool=memcheck --leak-check=yes
+#PREFIX = valgrind --tool=memcheck --leak-check=yes
 #BINARY = /home/grothoff/bin/gnunet-service-core
 
 [fs]
 PORT = 43471
 HOSTNAME = localhost
-#OPTIONS = -L DEBUG
+OPTIONS = -L DEBUG
 ACTIVEMIGRATION = NO
-DEBUG = YES
-PREFIX = valgrind --tool=memcheck --leak-check=yes
-#BINARY = /home/grothoff/bin/gnunet-service-fs
+#DEBUG = YES
+#PREFIX = valgrind --tool=memcheck --leak-check=yes 
+#BINARY = /home/grothoff/gn9/bin/gnunet-service-fs
 #PREFIX = xterm -e gdb -x cmd --args 
 
 [testing]
index 92ac44dcc297fdc48caa32e8781f3b31f51648c5..7e3e02c7626a9b1c4a020a6f41f7e98c5787e8bc 100644 (file)
@@ -26,7 +26,7 @@
 #include "platform.h"
 #include "fs_test_lib.h"
 
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
 
 /**
  * File-size we use for testing.