aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-11-24 11:28:52 +0100
committerVasil Dimov <vd@FreeBSD.org>2021-03-01 18:19:47 +0100
commitb905363fa8b0bb03fe34b53b5410880f42e0af39 (patch)
tree6fa648b23bdd128a0b845544292ce4d94bfeb913 /src/net.h
parent0635233a1e7e8c303073430092afd3e0fb0d927b (diff)
net: accept incoming I2P connections from CConnman
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index ab3111b0a2..fbdaf75150 100644
--- a/src/net.h
+++ b/src/net.h
@@ -1050,6 +1050,7 @@ private:
void ProcessAddrFetch();
void ThreadOpenConnections(std::vector<std::string> connect);
void ThreadMessageHandler();
+ void ThreadI2PAcceptIncoming();
void AcceptConnection(const ListenSocket& hListenSocket);
/**
@@ -1242,6 +1243,7 @@ private:
std::thread threadOpenAddedConnections;
std::thread threadOpenConnections;
std::thread threadMessageHandler;
+ std::thread threadI2PAcceptIncoming;
/** flag for deciding to connect to an extra outbound peer,
* in excess of m_max_outbound_full_relay