feat: implement BEP-53 support

This commit is contained in:
pasta 2024-10-01 12:59:45 -05:00
parent 60728f1699
commit aa0c287fe5
No known key found for this signature in database
GPG key ID: E2F3D7916E722D38
4 changed files with 57 additions and 6 deletions

View file

@ -196,7 +196,7 @@ async fn _test_e2e_download(drop_checks: &DropChecks) {
.and_then(|v| v.parse().ok())
.unwrap_or(1usize);
let magnet = Magnet::from_id20(torrent_file.info_hash(), Vec::new()).to_string();
let magnet = Magnet::from_id20(torrent_file.info_hash(), Vec::new(), None).to_string();
// 3. Start a client with the initial peers, and download the file.
for _ in 0..client_iters {