summaryrefslogtreecommitdiff
path: root/toxcore/onion.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-04-16 15:17:47 -0400
committerirungentoo <irungentoo@gmail.com>2015-04-16 15:17:47 -0400
commit7d466fda2cb7108fb203e4e1b94f88187597a014 (patch)
tree75db1051441e071c07889b70ad9b40c73343a9a0 /toxcore/onion.c
parent565d73713aa75f0d5437f0152ee7cb22f3113c59 (diff)
Only increase connection lock if connection is actively used to connect
to a friend. Give the connection a couple seconds (TCP_CONNECTION_ANNOUNCE_TIMEOUT) to connect itself to the friend before killing it if we are already connected to enough total relays.
Diffstat (limited to 'toxcore/onion.c')
0 files changed, 0 insertions, 0 deletions