add back support for ip filter files to client_test. add some logging when tracker IPs are filtered
This commit is contained in:
@@ -246,6 +246,13 @@ namespace libtorrent
|
||||
++i;
|
||||
}
|
||||
|
||||
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
|
||||
boost::shared_ptr<request_callback> cb = requester();
|
||||
if (cb)
|
||||
{
|
||||
cb->debug_log("*** TRACKER_FILTER");
|
||||
}
|
||||
#endif
|
||||
if (endpoints.empty())
|
||||
fail(error_code(errors::banned_by_ip_filter));
|
||||
}
|
||||
|
Reference in New Issue
Block a user