diff --git a/CHANGES.md b/CHANGES.md index d3f443101..2c317bc22 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,8 +2,14 @@ ## [0.6.14] - 2018-06-21 +### Added + * Allow to disable masking for websockets client +### Fixed + +* SendRequest execution fails with the "internal error: entered unreachable code" #329 + ## [0.6.13] - 2018-06-13 diff --git a/src/client/pipeline.rs b/src/client/pipeline.rs index dae7bbaf8..44e3d3a33 100644 --- a/src/client/pipeline.rs +++ b/src/client/pipeline.rs @@ -380,7 +380,7 @@ impl Pipeline { match self.timeout.as_mut().unwrap().poll() { Ok(Async::Ready(())) => return Err(SendRequestError::Timeout), Ok(Async::NotReady) => (), - Err(_) => unreachable!(), + Err(e) => return Err(e.into()), } } Ok(())