http protocol: remove AnnounceRequest::compact, fail parsing if set to 0

This commit is contained in:
Joakim Frostegård 2022-04-04 12:16:13 +02:00
parent 71c070cf98
commit 9f8f80a17b
3 changed files with 0 additions and 11 deletions

View file

@ -46,7 +46,6 @@ fn create_announce_request(config: &Config, state: &LoadTestState, rng: &mut imp
event,
key: None,
numwant: None,
compact: true,
port: rng.gen(),
bytes_uploaded: 0,
bytes_downloaded: 0,