gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33007 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r33007 - gnunet/src/mesh
Date: Thu, 10 Apr 2014 02:01:14 +0200

Author: bartpolot
Date: 2014-04-10 02:01:14 +0200 (Thu, 10 Apr 2014)
New Revision: 33007

Modified:
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- start reconnecting before running out of connections

Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2014-04-09 17:19:32 UTC 
(rev 33006)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2014-04-10 00:01:14 UTC 
(rev 33007)
@@ -1978,7 +1978,7 @@
   }
 
   /* Start new connections if needed */
-  if (NULL == t->connection_head
+  if (3 < GMT_count_connections (t)
       && GNUNET_SCHEDULER_NO_TASK == t->destroy_task
       && MESH_TUNNEL3_SHUTDOWN != t->cstate
       && GNUNET_NO == shutting_down)




reply via email to

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