mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-30 18:34:36 +01:00
update dep
This commit is contained in:
parent
033a8d890c
commit
3a24a75d13
@ -173,7 +173,7 @@ where
|
|||||||
let connector = TimeoutService::new(
|
let connector = TimeoutService::new(
|
||||||
self.timeout,
|
self.timeout,
|
||||||
apply_fn(self.connector, |msg: Connect, srv| {
|
apply_fn(self.connector, |msg: Connect, srv| {
|
||||||
srv.call(actix_connect::Connect::with_request(msg))
|
srv.call(actix_connect::Connect::with(msg))
|
||||||
})
|
})
|
||||||
.map(|stream| (stream.into_parts().0, Protocol::Http1)),
|
.map(|stream| (stream.into_parts().0, Protocol::Http1)),
|
||||||
)
|
)
|
||||||
@ -200,7 +200,7 @@ where
|
|||||||
let ssl_service = TimeoutService::new(
|
let ssl_service = TimeoutService::new(
|
||||||
self.timeout,
|
self.timeout,
|
||||||
apply_fn(self.connector.clone(), |msg: Connect, srv| {
|
apply_fn(self.connector.clone(), |msg: Connect, srv| {
|
||||||
srv.call(actix_connect::Connect::with_request(msg))
|
srv.call(actix_connect::Connect::with(msg))
|
||||||
})
|
})
|
||||||
.map_err(ConnectError::from)
|
.map_err(ConnectError::from)
|
||||||
.and_then(
|
.and_then(
|
||||||
@ -230,7 +230,7 @@ where
|
|||||||
let tcp_service = TimeoutService::new(
|
let tcp_service = TimeoutService::new(
|
||||||
self.timeout,
|
self.timeout,
|
||||||
apply_fn(self.connector.clone(), |msg: Connect, srv| {
|
apply_fn(self.connector.clone(), |msg: Connect, srv| {
|
||||||
srv.call(actix_connect::Connect::with_request(msg))
|
srv.call(actix_connect::Connect::with(msg))
|
||||||
})
|
})
|
||||||
.map_err(ConnectError::from)
|
.map_err(ConnectError::from)
|
||||||
.map(|stream| (stream.into_parts().0, Protocol::Http1)),
|
.map(|stream| (stream.into_parts().0, Protocol::Http1)),
|
||||||
|
Loading…
Reference in New Issue
Block a user