implement streaming limiting (initial)

This commit is contained in:
Jeff Becker 2016-07-28 11:16:29 -04:00
parent 17bfa35f77
commit aa3a93b6a0
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
5 changed files with 129 additions and 10 deletions

View file

@ -45,7 +45,7 @@ namespace client
I2PTunnelConnection::~I2PTunnelConnection ()
{
}
void I2PTunnelConnection::I2PConnect (const uint8_t * msg, size_t len)
{
if (m_Stream)
@ -396,7 +396,7 @@ namespace client
{
m_PortDestination = localDestination->CreateStreamingDestination (inport > 0 ? inport : port, gzip);
}
void I2PServerTunnel::Start ()
{
m_Endpoint.port (m_Port);