Changed the way libtorrent find out if a peer supports its extensions to make it compatible with Mainline beta.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user