gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33837 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r33837 - gnunet/src/cadet
Date: Wed, 25 Jun 2014 01:29:50 +0200

Author: bartpolot
Date: 2014-06-25 01:29:50 +0200 (Wed, 25 Jun 2014)
New Revision: 33837

Modified:
   gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- debug info for #3425

Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-24 19:28:08 UTC 
(rev 33836)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-24 23:29:50 UTC 
(rev 33837)
@@ -2476,9 +2476,10 @@
 
   if (GNUNET_SCHEDULER_NO_TASK != t->destroy_task)
   {
-    LOG (GNUNET_ERROR_TYPE_DEBUG,
-         "Tunnel %s is already scheduled for destruction\n",
+    LOG (GNUNET_ERROR_TYPE_WARNING,
+         "Tunnel %s is already scheduled for destruction. Tunnel debug 
dump:\n",
          GCT_2s (t));
+    GCT_debug (t, GNUNET_ERROR_TYPE_WARNING);
     GNUNET_break (0);
     /* should never happen, tunnel can only become empty once, and the
      * task identifier should be NO_TASK (cleaned when the tunnel was created
@@ -2490,6 +2491,7 @@
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Tunnel %s empty: destroying scheduled\n",
        GCT_2s (t));
 
+  // FIXME make delay a config option
   t->destroy_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MINUTES,
                                                   &delayed_destroy, t);
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Scheduled destroy of %p as %llX\n",




reply via email to

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