Opened 12 years ago

Closed 12 years ago

#4338 closed Enhancement (fixed)

Improved webseed support

Reported by: alexat Owned by: jordan
Priority: Normal Milestone: 2.33
Component: libtransmission Version: 2.32
Severity: Normal Keywords: webseeds
Cc:

Description

I've written a patch which makes downloading from webseeds with Transmission way more convenient.

Features that are introduced with this patch:

  • Transmission can download up to one piece instead of just one block per HTTP request. This makes downloading a lot faster.
  • If the server redirects us the target url is saved and used for subsequent requests.
  • Connection management: Transmission tries to establish 4 simultaneous connections. If connecting fails 5 times it gives up, but every 5 minutes it retries to establish one more connection. If this succeeds all remaining connections are tried until 5 consecutive failures...

I've experienced Transmission currently tries to establish 64 (the number of blocks in one piece) simultaneous connections to the server. This is not how HTTP should work and many servers will simply block us because they think we're doing a DoS. Btw I already wrote this as an e-mail but there seemed to be some problem with mail delivery.

The patch applies to the current trunk version of Transmission (rev 12530).

Attachments (1)

webseed_support.patch (24.1 KB) - added by alexat 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by alexat

comment:1 Changed 12 years ago by jordan

  • Milestone changed from None Set to 2.33
  • Status changed from new to assigned

This is a nice patch. Thanks for submitting it!

comment:2 Changed 12 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

patch added in r12539.

Note: See TracTickets for help on using tickets.