option to ignore bandwidth limits for local peers. fixed some asserts when allowing multiple connections per IP
This commit is contained in:
@@ -1215,7 +1215,11 @@ namespace libtorrent
|
||||
throw protocol_error("duplicate peer-id, connection closed");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (pid == m_ses.get_peer_id())
|
||||
{
|
||||
throw protocol_error("closing connection to ourself");
|
||||
}
|
||||
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
|
Reference in New Issue
Block a user