added accessor to query for the max number of connections
This commit is contained in:
@@ -122,7 +122,7 @@ namespace libtorrent
|
||||
while (!m_queue.empty())
|
||||
{
|
||||
// we don't want to call the timeout callback while we're locked
|
||||
// since that is a recepie for dead-locks
|
||||
// since that is a recipie for dead-locks
|
||||
entry e = m_queue.front();
|
||||
m_queue.pop_front();
|
||||
if (e.connecting) --m_num_connecting;
|
||||
|
Reference in New Issue
Block a user