Commit Graph

13 Commits

Author SHA1 Message Date
arvidn b23cb76b6f load 'info-hash' in read_resume_data 2016-02-20 13:26:21 -05:00
arvidn cc49b876bb add flag for initializing m_need_save_resume_data when adding torrent 2016-02-20 13:26:21 -05:00
arvidn 40f6afc2f8 save and restore storage allocation mode in resume data 2016-02-20 13:26:21 -05:00
arvidn 8304cb07bc update documentation 2016-02-20 13:26:20 -05:00
arvidn 67dbca14b7 move logic that loads torrent files from resume data into read_resume_data() 2016-02-20 13:26:20 -05:00
arvidn c9d7e54d7b make tests pass 2016-02-20 12:50:52 -05:00
arvidn 4ef55073e3 transition mapped_files over to the new add_torrent_params 2016-02-20 02:00:07 -05:00
arvidn 6e88771981 transition merkle tree support over to the new read_resume_data() 2016-02-20 02:00:07 -05:00
arvidn 6223057b1e added support for pieces, verified pieces and piece_priorities in new resume data scheme 2016-02-20 02:00:07 -05:00
arvidn a60bbe0a1c fix loading of peers and banned_peers from resume_data 2016-02-20 02:00:07 -05:00
arvidn 35b998f90d introduce backwards-compatibility, of loading resume data and merging it with the add_torrent_params. add some more missing fields. deprecate some more flags in add_torrent_params 2016-02-20 02:00:07 -05:00
arvidn e0ee12d4f3 remove m_resume_data and m_resume_data_loaded members from torrent 2016-02-20 02:00:06 -05:00
arvidn 197ded5a0d revamp the way resume data is read, by providing a function for the client to parse resume data, capturing it in add_torrent_params 2016-02-20 02:00:06 -05:00