aquatic http load test: send Host header, downloaded&uploaded keys

This commit is contained in:
Joakim Frostegård 2020-08-12 04:08:43 +02:00
parent 01a3e7795a
commit e6a74c5bfe
2 changed files with 4 additions and 3 deletions

View file

@ -91,9 +91,10 @@ impl Connection {
state.statistics.responses_scrape
.fetch_add(1, Ordering::SeqCst);
},
Response::Failure(_) => {
Response::Failure(response) => {
state.statistics.responses_failure
.fetch_add(1, Ordering::SeqCst);
println!("failure response: reason: {}", response.failure_reason);
},
}