mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_http_load_test: fix compiler unused variable warnings
This commit is contained in:
parent
74e1ecf384
commit
67c346f88e
1 changed files with 2 additions and 6 deletions
|
|
@ -115,11 +115,9 @@ impl Connection {
|
||||||
Err(err) if err.kind() == ErrorKind::WouldBlock => {
|
Err(err) if err.kind() == ErrorKind::WouldBlock => {
|
||||||
break false;
|
break false;
|
||||||
},
|
},
|
||||||
Err(err) => {
|
Err(_) => {
|
||||||
self.bytes_read = 0;
|
self.bytes_read = 0;
|
||||||
|
|
||||||
// eprintln!("handle_read_event error: {}", err);
|
|
||||||
|
|
||||||
break true;
|
break true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -155,9 +153,7 @@ impl Connection {
|
||||||
|
|
||||||
false
|
false
|
||||||
},
|
},
|
||||||
Err(err) => {
|
Err(_) => {
|
||||||
// eprintln!("send request error: {}", err);
|
|
||||||
|
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue