Fire up the I/O engine on an outbound connection.

This commit is contained in:
JoelKatz
2012-01-19 14:10:39 -08:00
parent cabbfffbdf
commit 7d26c47035

View File

@@ -98,5 +98,6 @@ bool ConnectionPool::connectTo(const std::string& host, const std::string& port)
if(error) return false;
boost::mutex::scoped_lock sl(peerLock);
mPeers.push_back(peer);
peer->connected(boost::system::error_code());
return true;
}