mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
recreate session after 90 seconds incativity
This commit is contained in:
@@ -256,7 +256,8 @@ namespace datagram
|
||||
|
||||
std::shared_ptr<i2p::garlic::GarlicRoutingPath> DatagramSession::GetSharedRoutingPath ()
|
||||
{
|
||||
if(!m_RoutingSession) {
|
||||
if (!m_RoutingSession || !m_RoutingSession->GetOwner ())
|
||||
{
|
||||
if(!m_RemoteLeaseSet) {
|
||||
m_RemoteLeaseSet = m_LocalDestination->FindLeaseSet(m_RemoteIdent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user