optimize test_transfer. fix set_upload_mode() bug for seeds. clean up some verbose logging. fix tests to not fail by EAGAIN on stdout

This commit is contained in:
Arvid Norberg
2010-12-24 00:37:01 +00:00
parent 31386d8396
commit c4422cd34e
6 changed files with 95 additions and 28 deletions

View File

@@ -48,6 +48,7 @@ bool print_alerts(libtorrent::session& ses, char const* name
, bool allow_failed_fastresume = false
, bool (*)(libtorrent::alert*) = 0);
void wait_for_listen(libtorrent::session& ses, char const* name);
void test_sleep(int millisec);
boost::intrusive_ptr<libtorrent::torrent_info> create_torrent(std::ostream* file = 0