mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
tunnels reload changes: fix tcp tunnels reload
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
349022ae42
commit
6b1ef6e1b9
4 changed files with 100 additions and 55 deletions
|
@ -303,7 +303,7 @@ namespace client
|
|||
m_ProxyConnectionSent = true;
|
||||
}
|
||||
else
|
||||
m_OutHeader << line << "\n";
|
||||
m_OutHeader << line << "\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -888,7 +888,8 @@ namespace client
|
|||
LogPrint(eLogInfo, "UDPServer: done");
|
||||
}
|
||||
|
||||
void I2PUDPServerTunnel::Start() {
|
||||
void I2PUDPServerTunnel::Start()
|
||||
{
|
||||
m_LocalDest->Start();
|
||||
}
|
||||
|
||||
|
@ -1064,8 +1065,9 @@ namespace client
|
|||
else
|
||||
LogPrint(eLogWarning, "UDP Client: not tracking udp session using port ", (int) toPort);
|
||||
}
|
||||
|
||||
I2PUDPClientTunnel::~I2PUDPClientTunnel() {
|
||||
|
||||
I2PUDPClientTunnel::~I2PUDPClientTunnel()
|
||||
{
|
||||
auto dgram = m_LocalDest->GetDatagramDestination();
|
||||
if (dgram) dgram->ResetReceiver();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue