mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-10 01:10:32 +00:00
don't handle connect timer for already terminated session
This commit is contained in:
parent
349c4e30b6
commit
b306bf2db9
@ -144,7 +144,7 @@ namespace transport
|
|||||||
|
|
||||||
void SSU2Session::HandleConnectTimer (const boost::system::error_code& ecode)
|
void SSU2Session::HandleConnectTimer (const boost::system::error_code& ecode)
|
||||||
{
|
{
|
||||||
if (!ecode)
|
if (!ecode && m_State != eSSU2SessionStateTerminated)
|
||||||
{
|
{
|
||||||
// timeout expired
|
// timeout expired
|
||||||
if (m_State == eSSU2SessionStateIntroduced) // WaitForIntroducer
|
if (m_State == eSSU2SessionStateIntroduced) // WaitForIntroducer
|
||||||
|
Loading…
Reference in New Issue
Block a user