aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-09 14:28:45 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-09 14:28:45 +0000
commit72a2c1b9542d68eab32f483a1c53eeec19bc12b3 (patch)
tree36fe4082af27fba371e51bb838d8a0435e032432 /src/transport/gnunet-service-transport_neighbours.c
parent6806f421c1164921cfa265ddc7009c08986bc915 (diff)
downloadgnunet-72a2c1b9542d68eab32f483a1c53eeec19bc12b3.tar.gz
gnunet-72a2c1b9542d68eab32f483a1c53eeec19bc12b3.zip
-do only send HELLO to clients once on startup, do only send fully initialized HELLO to clients if we can help it, even the first one; do not perform blacklist check twice for try_connect
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 15bb0bdab..315d32131 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -3711,7 +3711,9 @@ GST_neighbours_iterate (GST_NeighbourIterator cb, void *cb_cls)
3711 return; /* can happen during shutdown */ 3711 return; /* can happen during shutdown */
3712 ic.cb = cb; 3712 ic.cb = cb;
3713 ic.cb_cls = cb_cls; 3713 ic.cb_cls = cb_cls;
3714 GNUNET_CONTAINER_multipeermap_iterate (neighbours, &neighbours_iterate, &ic); 3714 GNUNET_CONTAINER_multipeermap_iterate (neighbours,
3715 &neighbours_iterate,
3716 &ic);
3715} 3717}
3716 3718
3717 3719