mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 18:09:22 +02:00
SendRequest execution fails with the entered unreachable code #329
This commit is contained in:
@ -392,7 +392,7 @@ impl Pipeline {
|
||||
match self.timeout.as_mut().unwrap().poll() {
|
||||
Ok(Async::Ready(())) => return Err(SendRequestError::Timeout),
|
||||
Ok(Async::NotReady) => (),
|
||||
Err(_) => return Err(SendRequestError::Timeout),
|
||||
Err(e) => return Err(e.into()),
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user