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;