fail web seed tests quicker
This commit is contained in:
@@ -155,7 +155,9 @@ static void test_transfer(session& ses, boost::intrusive_ptr<torrent_info> torre
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (test_ban && peer_disconnects >= 1) break;
|
// if the web seed connection is disconnected, we're going to fail
|
||||||
|
// the test. make sure to do so quickly
|
||||||
|
if (peer_disconnects >= 1) break;
|
||||||
|
|
||||||
if (s.is_seeding /* && ss.download_rate == 0.f*/)
|
if (s.is_seeding /* && ss.download_rate == 0.f*/)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user