- debug
authorBart Polot <bart@net.in.tum.de>
Thu, 16 May 2013 15:04:15 +0000 (15:04 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 16 May 2013 15:04:15 +0000 (15:04 +0000)
src/mesh/gnunet-service-mesh-new.c
src/mesh/test_mesh2.conf
src/mesh/test_mesh2_local.c

index 806b6176472b3432c5e0b9a67a36902622dea4ab..611f8617961c9b57423d5a18f0969f5f9e7bf64f 100644 (file)
@@ -3970,7 +3970,7 @@ handle_local_tunnel_create (void *cls, struct GNUNET_SERVER_Client *client,
     return;
   }
   t->port = ntohl (t->port);
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CREATED TUNNEL %s [%x] (%x)\n",
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CREATED TUNNEL %s[%x] (%x)\n",
               GNUNET_i2s (&my_full_id), t->id.tid, t->local_tid);
 
   peer_info = peer_get (&t_msg->peer);
index 2f0f525da94c01fa9b128f1907b36cf6644c7b87..35fecc32a6ddd8f72f4186d99c59e064f89f9d57 100644 (file)
@@ -6,12 +6,12 @@ AUTOSTART = NO
 
 [mesh]
 BINARY = gnunet-service-mesh-new
-AUTOSTART = YES
+AUTOSTART = NO
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
 PORT = 10511
 # PREFIX = valgrind --leak-check=full
-PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
+PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
 REFRESH_PATH_TIME = 3 s
 APP_ANNOUNCE_TIME = 5 s
 ID_ANNOUNCE_TIME = 5 s
@@ -54,7 +54,7 @@ WAN_QUOTA_IN = 3932160
 PORT = 12092
 
 [arm]
-DEFAULTSERVICES = core
+DEFAULTSERVICES = core mesh
 PORT = 12366
 
 [transport-tcp]
index 1e06d12ab887315964632591a517cbbae612adf4..5167de2a4847a9d6d00956e4624622a88a64498d 100644 (file)
@@ -197,7 +197,7 @@ do_find (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   struct GNUNET_PeerIdentity id;
 
   GNUNET_TESTING_peer_get_identity (me, &id);
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: CONNECT BY TYPE\n");
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: CONNECT BY PORT\n");
   t = GNUNET_MESH_tunnel_create (mesh_peer_1, NULL, &id, 1);
 }
 
@@ -215,7 +215,7 @@ run (void *cls,
   me = peer;
   abort_task =
       GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
-                                    (GNUNET_TIME_UNIT_SECONDS, 20), &do_abort,
+                                    (GNUNET_TIME_UNIT_SECONDS, 120), &do_abort,
                                     NULL);
   mesh_peer_1 = GNUNET_MESH_connect (cfg,       /* configuration */
                                      (void *) 1L,     /* cls */