Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for magnet download piece stage #30

Merged
merged 1 commit into from
Sep 10, 2024
Merged

add test for magnet download piece stage #30

merged 1 commit into from
Sep 10, 2024

Conversation

sarp
Copy link
Collaborator

@sarp sarp commented Aug 21, 2024

This PR is part of magnet links extension
It adds tests for download a piece stage
The test is the same as stage_dl_piece.go but works with magnet links

Stages

  1. Parse magnet link
  2. Advertise extension support
  3. Send extension handshake
  4. Receive extension handshake
  5. Request metadata
  6. Receive metadata
  7. Download a piece <--- this PR
  8. Download the whole file

@sarp sarp changed the title Sarp/magnet7 add test for magnet download piece stage Aug 21, 2024
@sarp sarp marked this pull request as ready for review September 10, 2024 10:48
@sarp sarp merged commit 1985511 into main Sep 10, 2024
1 check passed
@sarp sarp deleted the sarp/magnet7 branch September 11, 2024 18:39
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.

2 participants