mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
close connection to first hop of declined tunnel
This commit is contained in:
@@ -359,6 +359,7 @@ namespace i2p
|
||||
else
|
||||
{
|
||||
LogPrint ("Outbound tunnel ", tunnel->GetTunnelID (), " has been declined");
|
||||
i2p::transports.CloseSession (tunnel->GetTunnelConfig ()->GetFirstHop ()->router);
|
||||
delete tunnel;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user