http load test: use new escape_ascii from Rust 1.60

This commit is contained in:
Joakim Frostegård 2022-04-10 01:21:25 +02:00
parent 7215d26ff4
commit fc9211835e

View file

@ -237,7 +237,7 @@ impl Connection {
"deserialize response error with {} bytes read: {:?}, text: {}", "deserialize response error with {} bytes read: {:?}, text: {}",
buffer_position, buffer_position,
err, err,
String::from_utf8_lossy(interesting_bytes) interesting_bytes.escape_ascii()
); );
} }
} }