Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The relevant documentation about the libtorrent part is here: <a href="http://www.rasterbar.com/products/libtorrent/manual.html#http-seeding" rel="nofollow">http://www.rasterbar.com/products/libtorrent/manual.html#http-seeding</a> and the specs are <a href="http://bittorrent.org/beps/bep_0019.html" rel="nofollow">http://bittorrent.org/beps/bep_0019.html</a> and <a href="http://bittorrent.org/beps/bep_0017.html" rel="nofollow">http://bittorrent.org/beps/bep_0017.html</a> (both being supported by libtorrent, as "url seeds" and "http seeds").</p> <p>IIRC, BEP19 (webseeds, or urlseeds) is rather straight-forward from the server POV, and you don't need to do anything special there - you <em>just serve the files as you would do for a normal HTTP requests for that file</em> (so, the second part of your question doesn't quite make sense here).</p> <p>With BEP17, you rather use a unique http endpoint, and pass it get parameters to specify what the client wants (which for example allows for better throttling control and range selection) (eg: <a href="http://example.com/seed/?info_hash=X&amp;piece=Y&amp;ranges=Z" rel="nofollow">http://example.com/seed/?info_hash=X&amp;piece=Y&amp;ranges=Z</a>).</p> <p>This second approach is more flexible if you intend to have more (programmatic) control over what is downloaded, but obviously requires a lot more code to write to handle the requests though.</p> <p>Again, from the server POV, this is not that different from regular HTTP transactions, and there is nothing special about "seeding" here. You just serve files (each with its own url, either directly, or via a handler).</p> <p>A for the metadata part, with BEP19, you add a "url-list" extension (with the full url of your file: <a href="http://example.com/seeds/SOMEFILE.txt" rel="nofollow">http://example.com/seeds/SOMEFILE.txt</a> - watch out for multi-file torrents), whereas BEP17 uses the key "httpseeds" (with your endpoint, eg: <a href="http://example.com/seed/" rel="nofollow">http://example.com/seed/</a>).</p> <p>Depending on whether your Jetty also handle metadata generation or not, you might prefer BEP19 over BEP17, for your urls to be more predictable / the metadata generation to be simpler...</p> <p>Hope that helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload