[Libtorrent-devel] relay mode again
Josef Drexler
josef at ttdpatch.net
Mon Jun 29 22:50:59 UTC 2009
On Jun 30, 2009, at 12:38 AM, Howard Chu wrote:
> I'm still trying to get my master/slave patches working against .4.
> I've gotten quite lost in the new choke manager, and have no idea
> how the objects are connected back to either the choke_manager_node
> or the peerInfo. Can you give me some tips on how to proceed?
>
> As a refresher: configuring a slave opens a connection to the
> specified address:port, regardless of any other tracker information.
>
> configuring a master is supposed to give high priority to any
> connection from that address - no bandwidth limits, and never
> choked. I have the bandwidth limit removed, but still haven't
> figured out the new choke manager.
>
> "blessing" a connection was my second attempt at figuring out the
> choke manager; that attempt has also been rather useless. Any help
> here would be much appreciated.
All of that is basically implemented by my "friend" patch, if you
couple it with an IP-based NULL throttle and a schedule to d.add_peer
the master.
http://ovh.ttdpatch.net/~jdrexler/rt/experimental/friend.diff
--
Josef Drexler
josef at ttdpatch.net
More information about the Libtorrent-devel
mailing list