diff --git a/src/connect.rs b/src/connect.rs index a134b4d..a3e4526 100644 --- a/src/connect.rs +++ b/src/connect.rs @@ -237,6 +237,7 @@ impl ReconnectWrite for W { // TODO: Consider handling by error kind match e.kind() { ErrorKind::BrokenPipe + | ErrorKind::NotConnected | ErrorKind::ConnectionRefused | ErrorKind::ConnectionAborted => { debug!("Try reconnect.");