made the piece picker handle multi-request blocks better. fixes problem that might occur at the end of a torrent where the piece picker could take over blocks back and forth

This commit is contained in:
Arvid Norberg
2007-07-06 17:15:35 +00:00
parent b535b08033
commit a3e66a3efe
12 changed files with 112 additions and 202 deletions

View File

@@ -105,7 +105,6 @@ setup_transfer(session* ses1, session* ses2, session* ses3
{
// give the other peers some time to get an initial
// set of pieces before they start sharing with each-other
test_sleep(10000);
tor3.connect_peer(tcp::endpoint(
address::from_string("127.0.0.1")
, ses2->listen_port()));