*** empty log message ***

This commit is contained in:
Magnus Jonsson
2004-02-23 22:54:54 +00:00
parent 9a2fc89eae
commit 4cb125a694
10 changed files with 215 additions and 435 deletions

View File

@@ -242,7 +242,7 @@ int main(int argc, char* argv[])
std::vector<torrent_handle> handles;
session ses(std::make_pair(6881, 6889));
// ses.set_upload_rate_limit(30 * 1024);
ses.set_upload_rate_limit(40 * 1024);
ses.set_http_settings(settings);
ses.set_severity_level(alert::debug);
@@ -384,16 +384,16 @@ int main(int argc, char* argv[])
i != peers.end();
++i)
{
out << "d: " << add_suffix(i->down_speed) << "/s "
out << "d:" << add_suffix(i->down_speed) << "/s "
<< "(" << add_suffix(i->total_download) << ") "
<< "u: " << add_suffix(i->up_speed) << "/s "
<< "u:" << add_suffix(i->up_speed) << "/s "
<< "(" << add_suffix(i->total_upload) << ") "
<< "ul:" << add_suffix(i->upload_limit) << "/s "
// << "uc:" << add_suffix(i->upload_ceiling) << "/s "
// << "df: " << ratio(i->total_download, i->total_upload) << " "
// << "q: " << i->download_queue_length << " "
<< "r: " << i->upload_queue_length << " "
<< "f: "
// << "df:" << ratio(i->total_download, i->total_upload) << " "
<< "q:" << i->download_queue_length << " "
<< "r:" << i->upload_queue_length << " "
<< "f:"
<< static_cast<const char*>((i->flags & peer_info::interesting)?"I":"_")
<< static_cast<const char*>((i->flags & peer_info::choked)?"C":"_")
<< static_cast<const char*>((i->flags & peer_info::remote_interested)?"i":"_")