Opened 13 years ago

Closed 10 years ago

#2631 closed Enhancement (fixed)

Add webseed support to magnet links

Reported by: jch Owned by: charles
Priority: Low Milestone: 1.80
Component: libtransmission Version: 1.76
Severity: Normal Keywords:
Cc:

Description

For magnet links, we should grok the ws= parameter, which specifies a webseed:

http://forum.bittorrent.org/viewtopic.php?id=15

We might also want to interpret as= as specifying a webseed:

http://en.wikipedia.org/wiki/Magnet_link#Web_links_to_the_file

Finally, we might want to generate ws= when generating magnet links. (Not so sure about this one.)

--Juliusz

Attachments (1)

webseedmagnetdis.patch (931 bytes) - added by cfpp2p 10 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 13 years ago by charles

  • Component changed from Transmission to libtransmission
  • Milestone changed from Sometime to 1.80
  • Owner set to charles
  • Status changed from new to assigned
  • Summary changed from Grok ws= in magnet links to Add webseed support to magnet links
  • Version changed from 1.76+ to 1.76

(summary translated for people who haven't read BEP #9 ;)

comment:2 Changed 13 years ago by charles

Agree 100% with the ws= notation, both reading it in tr_magnetParse() and writing it in tr_torrentGetMagnetLink().

I don't think libtransmission should interpret magnet's Acceptable Source notation as an alias for webseed. It's not clear to me that as= couldn't be a link to the metadata instead of the data.

comment:3 Changed 13 years ago by charles

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

Added to trunk for 1.80 by r9630

comment:4 Changed 13 years ago by dak180

A question I have not seen an answer for:
How do you know what type of webseed it is, i.e. Hoffman-style or GetRight-style?

Changed 10 years ago by cfpp2p

comment:5 Changed 10 years ago by cfpp2p

  • Milestone changed from 1.80 to None Set
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 1.76 to 2.71+

webseed magnet support is broken. crashes result

magnet:?xt=urn:btih:14FFE5DD23188FD5CB53A1D47F1289DB70ABF31E&dn=ubuntu+12+04+1+desktop+32+bit&tr=http%3A%2F%2Ftracker.publicbt.com%2Fannounce&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&ws
magnet:?xt=urn:btih:14FFE5DD23188FD5CB53A1D47F1289DB70ABF31E&dn=ubuntu+12+04+1+desktop+32+bit&tr=http%3A%2F%2Ftracker.publicbt.com%2Fannounce&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&ws=http://transmissionbt.com

two different problems.

webseedmagnetdis.patch stops these crashes but disables webseed support for magnet links ONLY. webseed is OK with .torrent metadata files

comment:6 Changed 10 years ago by livings124

Can you open a new ticket for this? Thanks!

comment:7 Changed 10 years ago by cfpp2p

Can you open a new ticket for this?

done

#5069

Last edited 10 years ago by cfpp2p (previous) (diff)

comment:8 Changed 10 years ago by livings124

  • Milestone changed from None Set to 1.80
  • Resolution set to fixed
  • Status changed from reopened to closed
  • Version changed from 2.71+ to 1.76
Note: See TracTickets for help on using tickets.