added accessor to query for the max number of connections

This commit is contained in:
Arvid Norberg
2008-11-08 07:40:55 +00:00
parent 71fb640699
commit 4e9124019b
7 changed files with 28 additions and 5 deletions

View File

@@ -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;