|
|
@ -601,6 +601,14 @@ namespace transport |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void NTCP2Session::HandleSessionConfirmedSent (const boost::system::error_code& ecode, std::size_t bytes_transferred) |
|
|
|
void NTCP2Session::HandleSessionConfirmedSent (const boost::system::error_code& ecode, std::size_t bytes_transferred) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
(void) bytes_transferred; |
|
|
|
|
|
|
|
if (ecode) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
LogPrint (eLogWarning, "NTCP2: couldn't send SessionConfirmed message: ", ecode.message ()); |
|
|
|
|
|
|
|
Terminate (); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
LogPrint (eLogDebug, "NTCP2: SessionConfirmed sent"); |
|
|
|
LogPrint (eLogDebug, "NTCP2: SessionConfirmed sent"); |
|
|
|
KeyDerivationFunctionDataPhase (); |
|
|
|
KeyDerivationFunctionDataPhase (); |
|
|
@ -617,6 +625,7 @@ namespace transport |
|
|
|
// m_SendQueue.push_back (CreateDeliveryStatusMsg (1));
|
|
|
|
// m_SendQueue.push_back (CreateDeliveryStatusMsg (1));
|
|
|
|
// SendQueue ();
|
|
|
|
// SendQueue ();
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void NTCP2Session::HandleSessionCreatedSent (const boost::system::error_code& ecode, std::size_t bytes_transferred) |
|
|
|
void NTCP2Session::HandleSessionCreatedSent (const boost::system::error_code& ecode, std::size_t bytes_transferred) |
|
|
|
{ |
|
|
|
{ |
|
|
|