Changes between Initial Version and Version 4 of Ticket #1429

Nov 7, 2008, 4:19:04 AM (12 years ago)

in r7064 I've added -- experimentally -- a modified version of 2:

In the special case of upload set to 0, libT will pretend the torrent's upload rate to unlimited, but choke all the peers and stop responding to piece requests.

In the special case of download set to 0, libT will pretend the torrent's download rate is unlimited, but tell peers that it's not interested in their pieces, and stop requesting any.

In both special cases, there will be a short inital period where any pending requests work their way through the pipeline. But IMO this is just a minor, transient problem.

This handling of the '0' case is actually better than in 1.34 and earlier, since those versions didn't bother changing the "interested" and "choked" states.


  • Ticket #1429

    • Property Status changed from new to closed
    • Property Component changed from Transmission to libtransmission
    • Property Milestone changed from None Set to 1.40
    • Property Owner set to charles
    • Property Resolution changed from to fixed
  • Ticket #1429 – Description

    initial v4  
    33This is quite annoying when downloading torrents from a private tracker without wanting to seed. (e.g. when using an external seedbox to keep the ratio up).
     5This lengthy braindump is a safeguard against a period six months from now when some other freakish special case pops up. :)
     7Closing this ticket for now, but as I say, the code is experimental.  If problems persist, feel free to reopen this ticket.