disable uTP for test_transfer (since proxy is not set up for UDP)
This commit is contained in:
parent
76f1a9aad0
commit
47ec708f49
|
@ -163,7 +163,7 @@ void start_proxy(int port, int proxy_type)
|
||||||
"SERVER=%s %s"
|
"SERVER=%s %s"
|
||||||
, port, type, auth);
|
, port, type, auth);
|
||||||
|
|
||||||
fprintf(stderr, "starting delegated proxy...\n");
|
fprintf(stderr, "starting delegated proxy on port %d...\n", port);
|
||||||
system(buf);
|
system(buf);
|
||||||
fprintf(stderr, "launched\n");
|
fprintf(stderr, "launched\n");
|
||||||
// apparently delegate takes a while to open its listen port
|
// apparently delegate takes a while to open its listen port
|
||||||
|
|
|
@ -274,6 +274,8 @@ void test_transfer(int proxy_type, bool test_disk_full = false, bool test_allowe
|
||||||
sett.announce_to_all_tiers = true;
|
sett.announce_to_all_tiers = true;
|
||||||
// make sure we announce to both http and udp trackers
|
// make sure we announce to both http and udp trackers
|
||||||
sett.prefer_udp_trackers = false;
|
sett.prefer_udp_trackers = false;
|
||||||
|
sett.enable_outgoing_utp = false;
|
||||||
|
sett.enable_incoming_utp = false;
|
||||||
|
|
||||||
ses1.set_settings(sett);
|
ses1.set_settings(sett);
|
||||||
ses2.set_settings(sett);
|
ses2.set_settings(sett);
|
||||||
|
|
Loading…
Reference in New Issue