fast extension fix, added some logging for fast extension messages, improved test to catch the problem

This commit is contained in:
Arvid Norberg
2008-01-02 03:18:29 +00:00
parent 91e01442e8
commit fcd2408f11
11 changed files with 121 additions and 108 deletions

View File

@@ -114,20 +114,8 @@ void test_transfer(libtorrent::pe_settings::enc_policy policy,
for (int i = 0; i < 50; ++i)
{
tor2.status();
std::auto_ptr<alert> a;
a = ses1.pop_alert();
while(a.get())
{
std::cerr << "ses1: " << a->msg() << "\n";
a = ses1.pop_alert();
}
a = ses2.pop_alert();
while (a.get())
{
std::cerr << "ses2: " << a->msg() << "\n";
a = ses2.pop_alert();
}
print_alerts(ses1, "ses1");
print_alerts(ses2, "ses2");
if (tor2.is_seed()) break;
test_sleep(100);