mirror of https://github.com/fafhrd91/actix-web
fix build
This commit is contained in:
parent
ac2ecd1ab4
commit
940f6076f4
|
@ -189,10 +189,12 @@ impl RequestSender {
|
||||||
B: Into<Body>,
|
B: Into<Body>,
|
||||||
{
|
{
|
||||||
let fut = match self {
|
let fut = match self {
|
||||||
RequestSender::Owned(head) => {
|
RequestSender::Owned(head) => config.connector.send_request(
|
||||||
connector.send_request(RequestHeadType::Owned(head), body.into(), addr)
|
RequestHeadType::Owned(head),
|
||||||
}
|
body.into(),
|
||||||
RequestSender::Rc(head, extra_headers) => connector.send_request(
|
addr,
|
||||||
|
),
|
||||||
|
RequestSender::Rc(head, extra_headers) => config.connector.send_request(
|
||||||
RequestHeadType::Rc(head, extra_headers),
|
RequestHeadType::Rc(head, extra_headers),
|
||||||
body.into(),
|
body.into(),
|
||||||
addr,
|
addr,
|
||||||
|
|
Loading…
Reference in New Issue