merged with upstream
This commit is contained in:
@@ -812,7 +812,7 @@ namespace client
|
||||
socks.push_back(sock);
|
||||
}
|
||||
}
|
||||
for (auto & sock : socks ) sock->Terminate();
|
||||
for (auto & sock : socks ) sock->Terminate("SAMSession::CloseStreams()");
|
||||
m_Sockets.clear();
|
||||
}
|
||||
|
||||
|
@@ -87,10 +87,10 @@ namespace client
|
||||
void SetSocketType (SAMSocketType socketType) { m_SocketType = socketType; };
|
||||
SAMSocketType GetSocketType () const { return m_SocketType; };
|
||||
|
||||
void Terminate ();
|
||||
private:
|
||||
void Terminate (const char* reason);
|
||||
|
||||
private:
|
||||
|
||||
void Terminate (const char* reason);
|
||||
void HandleHandshakeReceived (const boost::system::error_code& ecode, std::size_t bytes_transferred);
|
||||
void HandleHandshakeReplySent (const boost::system::error_code& ecode, std::size_t bytes_transferred);
|
||||
void HandleMessage (const boost::system::error_code& ecode, std::size_t bytes_transferred);
|
||||
|
Reference in New Issue
Block a user