implement streaming limiting (initial)

This commit is contained in:
Jeff Becker committed 2016-07-28 11:16:29 -04:00
1 parent 17bfa35f77
commit aa3a93b6a0
5 files changed
+129 -10

No files matched your search

+2
View File
@@ -437,6 +437,8 @@ namespace client
std::unique_ptr<I2PServerTunnel>(serverTunnel))).second)
{
serverTunnel->Start ();
auto maxConns = section.second.get<uint32_t>(i2p::stream::I2CP_PARAM_STREAMING_MAX_CONNS_PER_MIN, i2p::stream::DEFAULT_MAX_CONNS_PER_MIN);
serverTunnel->SetMaxConnsPerMinute(maxConns);
numServerTunnels++;
}
else