cmd/torrent announce: Use NumWant -1
tracker.opentrackr.org will actually send no peers back unless you ask for them.
This commit is contained in:
parent
30a5d079be
commit
a450bbe6b2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue