From 120f09454f64e7e5ad26e632ff50ebbbaca4a7b7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 22 Jan 2014 06:25:28 +0000 Subject: [PATCH] web test suite fix --- test/web_seed_suite.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/web_seed_suite.cpp b/test/web_seed_suite.cpp index 67b530884..65965f0e7 100644 --- a/test/web_seed_suite.cpp +++ b/test/web_seed_suite.cpp @@ -103,6 +103,15 @@ static void test_transfer(session& ses, boost::intrusive_ptr torre ps.type = (proxy_settings::proxy_type)proxy; ses.set_proxy(ps); } + else + { + ps.port = 0; + ps.hostname.clear(); + ps.username.clear(); + ps.password.clear(); + ps.type = proxy_settings::none; + ses.set_proxy(ps); + } add_torrent_params p; p.flags &= ~add_torrent_params::flag_paused;