From 7d26c470351b1c3b66a39ca950c1350bbbc16223 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 19 Jan 2012 14:10:39 -0800 Subject: [PATCH] Fire up the I/O engine on an outbound connection. --- ConnectionPool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ConnectionPool.cpp b/ConnectionPool.cpp index 25854d0a30..e6c0a17551 100644 --- a/ConnectionPool.cpp +++ b/ConnectionPool.cpp @@ -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; }