Skip to content

Conversation

@atomgardner
Copy link
Collaborator

@atomgardner atomgardner commented Dec 2, 2022

This is a first cut of the peer protocol and from-link subcommand.

Would love if you could give it a quick review. It obviously needs more tests.

This has tests now. I have local patch that adds a --thread-per-peer flag, and it speeds things up like 100 fold, but it is extremely hacky.

The command now uses rayon, and is acceptably quick. It'd be quicker if it pipelined peers from the tracker.

@atomgardner atomgardner marked this pull request as ready for review July 28, 2023 04:21
@atomgardner atomgardner force-pushed the peer-protocol branch 7 times, most recently from 9ab89c4 to 2d66bc0 Compare July 31, 2023 06:07
@atomgardner atomgardner force-pushed the peer-protocol branch 3 times, most recently from ee0192a to b73f9a6 Compare August 1, 2023 01:14
@atomgardner
Copy link
Collaborator Author

atomgardner commented Aug 1, 2023

One more thing to do before merging:

  • tidy up the peer module tree

It is now possible to create a torrent file from a magnet link. The
search is performed with minimal concurrency, and so may take a while to
complete.

type: added
fixes: casey#255
@atomgardner atomgardner merged commit e8469f8 into casey:master Aug 2, 2023
@atomgardner atomgardner deleted the peer-protocol branch August 2, 2023 07:15
casey pushed a commit that referenced this pull request Aug 20, 2023
It is now possible to create a torrent file from a magnet link. The
search is performed with minimal concurrency, and so may take a while to
complete.

type: added
- #255
casey pushed a commit that referenced this pull request Aug 20, 2023
It is now possible to create a torrent file from a magnet link. The
search is performed with minimal concurrency, and so may take a while to
complete.

type: added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant