mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
SendRequest execution fails with the entered unreachable code #329
This commit is contained in:
parent
e975124630
commit
4012606910
@ -2,8 +2,14 @@
|
|||||||
|
|
||||||
## [0.6.14] - 2018-06-21
|
## [0.6.14] - 2018-06-21
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
* Allow to disable masking for websockets client
|
* 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
|
## [0.6.13] - 2018-06-13
|
||||||
|
|
||||||
|
@ -380,7 +380,7 @@ impl Pipeline {
|
|||||||
match self.timeout.as_mut().unwrap().poll() {
|
match self.timeout.as_mut().unwrap().poll() {
|
||||||
Ok(Async::Ready(())) => return Err(SendRequestError::Timeout),
|
Ok(Async::Ready(())) => return Err(SendRequestError::Timeout),
|
||||||
Ok(Async::NotReady) => (),
|
Ok(Async::NotReady) => (),
|
||||||
Err(_) => unreachable!(),
|
Err(e) => return Err(e.into()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user