mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
aquatic_ws_load_test: send num_want and better offer fake type
This means wt-tracker starts sending offers
This commit is contained in:
parent
aee97b77a1
commit
01fdf40a02
4 changed files with 15 additions and 12 deletions
|
|
@ -5,9 +5,6 @@ use rand_distr::Pareto;
|
|||
pub use aquatic_ws_protocol::*;
|
||||
|
||||
|
||||
/// JSON string used as fake announce offer / offer response
|
||||
pub const JSON_VALUE: &str = r#"{ "offer": "abcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefgh" }"#;
|
||||
|
||||
|
||||
#[derive(PartialEq, Eq, Clone)]
|
||||
pub struct TorrentPeer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue