From a450bbe6b2cb5a908a3342ee10e6f74f6582fa8e Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 2 Mar 2022 10:51:19 +1100 Subject: [PATCH] cmd/torrent announce: Use NumWant -1 tracker.opentrackr.org will actually send no peers back unless you ask for them. --- cmd/torrent/announce.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/torrent/announce.go b/cmd/torrent/announce.go index 5ba51be4..277f3bef 100644 --- a/cmd/torrent/announce.go +++ b/cmd/torrent/announce.go @@ -20,6 +20,7 @@ func announceErr(flags AnnounceCmd) error { Request: tracker.AnnounceRequest{ InfoHash: flags.InfoHash, Port: uint16(torrent.NewDefaultClientConfig().ListenPort), + NumWant: -1, }, }.Do() if err != nil { -- 2.44.0