aquatic ws load test: send answers, count answer responses

This commit is contained in:
Joakim Frostegård 2020-08-01 05:57:52 +02:00
parent 364606a025
commit b0d2f67ab6
4 changed files with 89 additions and 43 deletions

View file

@ -65,7 +65,7 @@ impl Default for AnnounceEvent {
/// Apparently, these are sent to a number of peers when they are set
/// in an AnnounceRequest
/// action = "announce"
#[derive(Debug, Clone, Serialize)]
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct MiddlemanOfferToPeer {
/// Peer id of peer sending offer
/// Note: if equal to client peer_id, client ignores offer