Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWeb seed support for multi-file torrents #684
Comments
This comment has been minimized.
This comment has been minimized.
|
Confirmed. |
This comment has been minimized.
This comment has been minimized.
|
Is there a spec? I was thinking (for multi-file torrents)... For any given piece being downloaded from a webseed, pass the file that it belongs to to the swarm's webconn peer and append it to the url of the webseed. |
This comment has been minimized.
This comment has been minimized.
|
You're right according to the BEP0019 :
|
This comment has been minimized.
This comment has been minimized.
|
Notice the name of the torrent is appended to the root URL too. |
This comment has been minimized.
This comment has been minimized.
|
PR coming soon |
This comment has been minimized.
This comment has been minimized.
|
Merged Daniel's PR (https://github.com/feross/bittorrent-swarm/pull/33) with some fixes (https://github.com/feross/bittorrent-swarm/commit/247c79a1be5029654b03ad022e56124eea481eb0). Still need to handle requests that span multiple files better. |
This comment has been minimized.
This comment has been minimized.
|
As of @dcposch's most recent PR (https://github.com/feross/bittorrent-swarm/pull/34), multi-file web seeding should be working correctly. Please open a new issue if this is not the case. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Currently, web seeds only work for single file torrents. If we fix that, then WebTorrent will be able to download torrents like this one:
http://www.archive.org/download/alls_well_that_ends_well_2_1603_librivox/alls_well_that_ends_well_2_1603_librivox_archive.torrent