mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +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
|
|
@ -196,7 +196,7 @@ impl Connection {
|
|||
if let Some((peer_id, offer_id)) = self.send_answer {
|
||||
r.to_peer_id = Some(peer_id);
|
||||
r.offer_id = Some(offer_id);
|
||||
r.answer = Some(JsonValue(::serde_json::Value::from(JSON_VALUE)));
|
||||
r.answer = Some(JsonValue(::serde_json::json!({"abc": "def"})));
|
||||
r.offers = None;
|
||||
}
|
||||
|
||||
|
|
@ -219,7 +219,7 @@ impl Connection {
|
|||
false
|
||||
}
|
||||
Err(err) => {
|
||||
eprintln!("send request error: {:?}", err);
|
||||
// eprintln!("send request error: {:?}", err);
|
||||
|
||||
true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue