cleanup. changed the connection map into a set of peer_connections. moved the policy object into the torrent (as opposed to being a pointer). Fixes issues with multiple peers on the same IP. Reduces some lookups.
This commit is contained in:
@@ -344,6 +344,7 @@ namespace libtorrent
|
||||
|
||||
#ifndef NDEBUG
|
||||
m_current.storage = 0;
|
||||
m_current.callback.clear();
|
||||
#endif
|
||||
|
||||
if (j.buffer && free_buffer)
|
||||
|
Reference in New Issue
Block a user