aquatic_http_load_test: fix compiler unused variable warnings

This commit is contained in:
Joakim Frostegård 2020-08-13 00:53:02 +02:00
parent 74e1ecf384
commit 67c346f88e

View file

@ -115,11 +115,9 @@ impl Connection {
Err(err) if err.kind() == ErrorKind::WouldBlock => {
break false;
},
Err(err) => {
Err(_) => {
self.bytes_read = 0;
// eprintln!("handle_read_event error: {}", err);
break true;
}
}
@ -155,9 +153,7 @@ impl Connection {
false
},
Err(err) => {
// eprintln!("send request error: {}", err);
Err(_) => {
true
}
}