merged all proxy settings into a single one

This commit is contained in:
Arvid Norberg
2010-08-23 06:27:18 +00:00
parent 2736a3b7ff
commit b747cdab8a
10 changed files with 92 additions and 75 deletions

View File

@@ -254,8 +254,8 @@ void test_transfer(int proxy_type, bool test_disk_full = false, bool test_allowe
ps.username = "testuser";
ps.password = "testpass";
ps.type = (proxy_settings::proxy_type)proxy_type;
ses1.set_tracker_proxy(ps);
ses2.set_tracker_proxy(ps);
ses1.set_proxy(ps);
ses2.set_proxy(ps);
}
session_settings sett;

View File

@@ -73,7 +73,7 @@ void test_transfer(boost::intrusive_ptr<torrent_info> torrent_file, int proxy, i
ps.username = "testuser";
ps.password = "testpass";
ps.type = (proxy_settings::proxy_type)proxy;
ses.set_web_seed_proxy(ps);
ses.set_proxy(ps);
}
add_torrent_params p;