mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
recreate session after 90 seconds incativity
This commit is contained in:
parent
45aa78d953
commit
5a32082624
3 changed files with 16 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue