mirror of https://github.com/fafhrd91/actix-web
fix build on no compress feature
This commit is contained in:
parent
78b2be3e8b
commit
849bb2d995
|
@ -130,7 +130,9 @@ impl Future for SendClientRequest {
|
||||||
_ => return Poll::Ready(Err(SendRequestError::Timeout)),
|
_ => return Poll::Ready(Err(SendRequestError::Timeout)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Pin::new(send).poll(cx)
|
Pin::new(send)
|
||||||
|
.poll(cx)
|
||||||
|
.map_ok(|res| res.into_client_response())
|
||||||
}
|
}
|
||||||
SendClientRequest::Err(ref mut e) => match e.take() {
|
SendClientRequest::Err(ref mut e) => match e.take() {
|
||||||
Some(e) => Poll::Ready(Err(e)),
|
Some(e) => Poll::Ready(Err(e)),
|
||||||
|
|
Loading…
Reference in New Issue