web test suite fix
This commit is contained in:
parent
ad635c7081
commit
120f09454f
|
@ -103,6 +103,15 @@ static void test_transfer(session& ses, boost::intrusive_ptr<torrent_info> 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;
|
||||
|
|
Loading…
Reference in New Issue