diff --git a/aquatic_http_load_test/src/network.rs b/aquatic_http_load_test/src/network.rs index dc40c7c..92a29c0 100644 --- a/aquatic_http_load_test/src/network.rs +++ b/aquatic_http_load_test/src/network.rs @@ -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 } }