]> git.meshlink.io Git - meshlink/commit - test/Makefile.am
Speed up initial autoconnect after joining a mesh.
authorGuus Sliepen <guus@meshlink.io>
Thu, 30 May 2019 21:34:35 +0000 (23:34 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 13 Jun 2019 21:48:14 +0000 (23:48 +0200)
commit6354733cc5044c5226c430d97262c06ab4cd0d5e
treee4d7547d04ff3507fdfb314f4f11b1bb828d17ee
parent9e588a7b6cb4fff70f223bab1ba3120acff1f18b
Speed up initial autoconnect after joining a mesh.

When we just joined a mesh, we quickly want to establish redundant
connections. We do this by resetting the outgoing timer if we receive a
public key for a node that we are trying to connect to, and by speeding up
the autoconnect algorithm if we don't have 3 connections (in progress) yet.
src/net.c
src/protocol_key.c
test/Makefile.am
test/trio2.c [new file with mode: 0644]
test/trio2.test [new file with mode: 0755]