diff --git a/capnp/src/lib.rs b/capnp/src/lib.rs index 121b486e9..70106589d 100644 --- a/capnp/src/lib.rs +++ b/capnp/src/lib.rs @@ -238,6 +238,7 @@ impl ::std::convert::From<::std::io::Error> for Error { use std::io; let kind = match err.kind() { io::ErrorKind::TimedOut => ErrorKind::Overloaded, + io::ErrorKind::UnexpectedEof | io::ErrorKind::BrokenPipe | io::ErrorKind::ConnectionRefused | io::ErrorKind::ConnectionReset |