snowyu / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
1 stars 0 forks source link

Removing ALL trackers doesn't work after restart #647

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have tested this with both 0.16.x and 1.0.x.
If I remove ALL trackers from a torrent, save the fastresume, exit the program, 
launch it and load the fastresume ALL the trackers are back.

If I remove all but ONE the rest don't come back.

I don't use flag_merge_resume_trackers, it's left at its default value.

Original issue reported on code.google.com by hammered...@gmail.com on 14 Jul 2014 at 12:12

GoogleCodeExporter commented 9 years ago
I believe this patch fixes it. Could you test it?

http://dpaste.com/36DDBKX

Original comment by arvid.no...@gmail.com on 14 Jul 2014 at 4:36

GoogleCodeExporter commented 9 years ago
Yes, it works!
Would it possible to backport it to RC_0_16 too, or is that branch abandoned 
now?
(I still have to do a qbt release based on that and then I drop 0.16.x)

Original comment by hammered...@gmail.com on 14 Jul 2014 at 12:06

GoogleCodeExporter commented 9 years ago
committed to RC_0_16 branch as well

Original comment by arvid.no...@gmail.com on 15 Jul 2014 at 3:30

GoogleCodeExporter commented 9 years ago
Thank you.

Original comment by hammered...@gmail.com on 15 Jul 2014 at 5:23