mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Missing lock.
This commit is contained in:
@@ -222,6 +222,7 @@ void Peer::connect(const std::string& strIp, int iPort)
|
||||
{
|
||||
cLog(lsINFO) << "Peer: Connect: Outbound: " << ADDRESS(this) << ": " << mIpPort.first << " " << mIpPort.second;
|
||||
|
||||
boost::recursive_mutex::scoped_lock sl(ioMutex);
|
||||
boost::asio::async_connect(
|
||||
getSocket(),
|
||||
itrEndpoint,
|
||||
|
||||
Reference in New Issue
Block a user