Changed the way libtorrent find out if a peer supports its extensions to make it compatible with Mainline beta.

This commit is contained in:
Arvid Norberg
2005-09-18 10:18:23 +00:00
parent 5a1e064783
commit 82c0ca5675
8 changed files with 146 additions and 20 deletions

View File

@@ -405,7 +405,7 @@ int main(int argc, char* argv[])
catch (invalid_encoding&) {}
catch (boost::filesystem::filesystem_error&) {}
handles.push_back(ses.add_torrent(e, save_path, resume_data, true, 64 * 1024));
handles.push_back(ses.add_torrent(e, save_path, resume_data, true, 16 * 1024));
handles.back().set_max_connections(60);
handles.back().set_max_uploads(-1);
// handles.back().set_ratio(1.02f);