mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +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 {
|
if let Some(body_start_index) = opt_body_start_index {
|
||||||
let interesting_bytes = &interesting_bytes[body_start_index..];
|
match Response::from_bytes(&interesting_bytes[body_start_index..]) {
|
||||||
|
|
||||||
match Response::from_bytes(interesting_bytes) {
|
|
||||||
Ok(response) => {
|
Ok(response) => {
|
||||||
match response {
|
match response {
|
||||||
Response::Announce(_) => {
|
Response::Announce(_) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue