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 (HTTP) Seeding #331
Web (HTTP) Seeding #331
Conversation
This comment has been minimized.
This comment has been minimized.
|
@feross could you just take a quick look at this and let me know if there's any chance to get this merged? And if I'm heading in the right direction... |
This comment has been minimized.
This comment has been minimized.
piedshag
commented
Jun 26, 2015
|
@feross this would be quite handy. |
This comment has been minimized.
This comment has been minimized.
|
@olalonde - you're a hero! Thanks for this PR! Please accept my sincere apologies for the delay in getting this merged. This was a much needed feature. It only works in node right now, and it only supports BEP19, and the approach isn't very efficient with so many separate requests, but that's all okay for now. We have a starting point to work from now! |
This comment has been minimized.
This comment has been minimized.
|
This is released as 0.51.0. |
This comment has been minimized.
This comment has been minimized.
|
Great, @feross. Was starting to wonder if you'd ever take a look at the PR |
This comment has been minimized.
This comment has been minimized.
|
Sounds great! |
This comment has been minimized.
This comment has been minimized.
samcruz
commented
Jul 10, 2015
|
Hi there! I'm also interested in support for web seeding. I didn't try this out yet, but from reading the code, it seems this only supports single-file torrents, is that correct? Because if I'm reading BEP19 correctly, one would need to translate from pieces to offsets into specific files for multi-file torrents, which I don't see being done here. |
This comment has been minimized.
This comment has been minimized.
|
@samcruz Yeah, that's not implemented yet. |
This comment has been minimized.
This comment has been minimized.
batjko
commented
Jul 11, 2015
|
Does this mean, the testing indicated above hasn't been done before merging? |
This comment has been minimized.
This comment has been minimized.
|
Great work @olalonde! I'm trying to test this out but I'm getting an error When I run the test file
|
olalonde commentedMay 27, 2015
WIP (do not merge). See #67
Depends on this PR: https://github.com/feross/bittorrent-swarm/pull/19
I started working on a web seed implementation. The implementation right now is a bit naive (it maps every bittorrent protocol requests to HTTP
Rangerequests) and could probably be optimized.url-list