mirror of
https://github.com/actix/actix-web.git
synced 2024-11-23 01:51:11 +00:00
SendRequest execution fails with the entered unreachable code #329
This commit is contained in:
parent
cfe6725eb4
commit
8b0fbb85d1
2 changed files with 7 additions and 1 deletions
|
@ -52,8 +52,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-11
|
## [0.6.13] - 2018-06-11
|
||||||
|
|
||||||
|
|
|
@ -392,7 +392,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(_) => return Err(SendRequestError::Timeout),
|
Err(e) => return Err(e.into()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue