[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 179456] KTorrent does not allow you to pause individual torrents
From:       Adam Forsyth <agforsyth () gmail ! com>
Date:       2009-12-21 23:04:37
Message-ID: 20091221230437.DEAD82C6B9 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=179456





--- Comment #18 from Adam Forsyth <agforsyth gmail com>  2009-12-22 00:04:34 ---
My reading of that section is different. 

As we could AT ANY MOMENT unpause and request a block (chunk), we should remain
interested. The pause function should, as nearly as possible, simply reduce our
download speeds to zero as far as peers are concerned. An argument can be made
that we should choke the peer, something I have in my notes to look at. This
was just a forward port of my old patch's libbtcore section, not meant to be
complete.

Just because you are interested does not mean you will ALWAYS request from that
peer immediately, it just means you MAY, I think that it is consistent to
remain interested.

From the spec:
"A block is downloaded by the client when the client is interested in a peer,
and that peer is not choking the client. A block is uploaded by a client when
the client is not choking a peer, and that peer is interested in the client."

Again, at any moment, we may request a block.

Also look at PeerManager::killUninterested().

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic