|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2013-2022, The PurpleI2P Project |
|
|
|
|
* Copyright (c) 2013-2023, The PurpleI2P Project |
|
|
|
|
* |
|
|
|
|
* This file is part of Purple i2pd project and licensed under BSD3 |
|
|
|
|
* |
|
|
|
@ -439,6 +439,8 @@ namespace client
@@ -439,6 +439,8 @@ namespace client
|
|
|
|
|
void SAMSocket::HandleSessionReadinessCheckTimer (const boost::system::error_code& ecode) |
|
|
|
|
{ |
|
|
|
|
if (ecode != boost::asio::error::operation_aborted) |
|
|
|
|
{ |
|
|
|
|
if (m_Socket.is_open ()) |
|
|
|
|
{ |
|
|
|
|
auto session = m_Owner.FindSession(m_ID); |
|
|
|
|
if(session) |
|
|
|
@ -453,6 +455,9 @@ namespace client
@@ -453,6 +455,9 @@ namespace client
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
Terminate ("SAM: session socket closed"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void SAMSocket::SendSessionCreateReplyOk () |
|
|
|
|