Summary: | Please send "completed" event when finished partially downloaded torrents | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Daniel Hahler <kde-bugzilla> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Hahler
2010-11-07 00:29:51 UTC
Doing what you propose would lead to completed events being sent twice, if you later decide to download more files of the torrent. This would make the tracker stats incorrect. KTorrent could just remember that it had sent the completed event for this torrent already, couldn't it? It could, but that would mean we would have to keep track of that. This is a matter of interpretation of the standard, which is not clear at all on this. I'm more inclined to keep things as they are until this is clarified. Certainly when you consider there is actually a partial seed extension: http://bittorrent.org/beps/bep_0021.html Which would solve the problem in a proper manner. Git commit f82ea475ac2975edbf4cdb3fa2ff79886f88bca3 by Joris. Committed on 21/02/2011 at 20:27. Pushed by guisson into branch 'master'. Implement partial seeding extension BUG: 256263 M +1 -0 ChangeLog M +1 -0 src/interfaces/peerinterface.cpp M +2 -0 src/interfaces/peerinterface.h M +6 -0 src/magnet/magnetdownloader.cpp M +1 -0 src/magnet/magnetdownloader.h M +7 -1 src/peer/peer.cpp M +1 -1 src/peer/peer.h M +26 -3 src/peer/peermanager.cpp M +6 -0 src/peer/peermanager.h M +1 -1 src/torrent/advancedchokealgorithm.cpp M +4 -1 src/torrent/torrentcontrol.cpp M +7 -3 src/tracker/httptracker.cpp M +1 -0 src/tracker/httptracker.h M +1 -0 src/tracker/tracker.h M +5 -0 src/tracker/trackermanager.cpp M +1 -0 src/tracker/trackermanager.h http://commits.kde.org/libktorrent/f82ea475ac2975edbf4cdb3fa2ff79886f88bca3 |