mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
implement streaming limiting (initial)
This commit is contained in:
parent
17bfa35f77
commit
aa3a93b6a0
5 changed files with 129 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue