disable uTP for test_transfer (since proxy is not set up for UDP)

This commit is contained in:
Arvid Norberg 2010-12-20 00:20:56 +00:00
parent 76f1a9aad0
commit 47ec708f49
2 changed files with 3 additions and 1 deletions

View File

@ -163,7 +163,7 @@ void start_proxy(int port, int proxy_type)
"SERVER=%s %s"
, port, type, auth);
fprintf(stderr, "starting delegated proxy...\n");
fprintf(stderr, "starting delegated proxy on port %d...\n", port);
system(buf);
fprintf(stderr, "launched\n");
// apparently delegate takes a while to open its listen port

View File

@ -274,6 +274,8 @@ void test_transfer(int proxy_type, bool test_disk_full = false, bool test_allowe
sett.announce_to_all_tiers = true;
// make sure we announce to both http and udp trackers
sett.prefer_udp_trackers = false;
sett.enable_outgoing_utp = false;
sett.enable_incoming_utp = false;
ses1.set_settings(sett);
ses2.set_settings(sett);