mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http load test: on response deserialize failure, print headers too
This commit is contained in:
parent
c21ed97cb2
commit
05faa10f4b
1 changed files with 1 additions and 3 deletions
|
|
@ -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(_) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue