Opened 15 years ago

Closed 15 years ago

#890 closed Enhancement (fixed)

be smarter about noticing seeds from tracker & pex

Reported by: charles Owned by: charles
Priority: Normal Milestone: 1.20
Component: libtransmission Version: 1.11
Severity: Normal Keywords:


For torrents with many seeds and few (if any) leechers, we can avoid a lot of unnecessary network connections by being smarter about noticing whether or not a peer is a seed before we try to connect to it. We can do this in two places:

(1) When parsing a tracker message, we can check to see if the "incomplete" count is 0. If it is, we can flag all the peers we got from the tracker as seeds.

(2) When parsing a peer's PEX message, we use the added.f flags. We should've been doing this all along, but looking at the code, that's not the case.

Change History (1)

comment:1 Changed 15 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.