http load test: on response deserialize failure, print headers too

This commit is contained in:
Joakim Frostegård 2022-04-03 19:08:20 +02:00
parent c21ed97cb2
commit 05faa10f4b

View file

@ -213,9 +213,7 @@ impl Connection {
}
if let Some(body_start_index) = opt_body_start_index {
let interesting_bytes = &interesting_bytes[body_start_index..];
match Response::from_bytes(interesting_bytes) {
match Response::from_bytes(&interesting_bytes[body_start_index..]) {
Ok(response) => {
match response {
Response::Announce(_) => {