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 upQuestion about handling magnets #1020
Closed
Comments
This comment has been minimized.
This comment has been minimized.
|
It looks like if the client does not have the metadata then it is requested from all peers it connects to until the metadata is received. If you want to look it over, it's in lib/torrent.js |
This comment has been minimized.
This comment has been minimized.
|
Thank you so much! |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Do you request torrent metadata from all the peers you initially connect to?
Or do you
2.5) Failure -> move to next peer, put this peer on hold
I could see asking everyone initially until you set a flag to true and then send cancels and move on.
But then I feel like this overcomplicates the process.