1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00

fix non ssl connector

This commit is contained in:
Nikolay Kim 2019-03-14 13:08:05 -07:00
parent 76bb30dc3a
commit 15ba40d3ab

View File

@ -173,6 +173,7 @@ where
let connector = TimeoutService::new(
self.timeout,
apply_fn(self.connector, |msg: Uri, srv| srv.call(msg.into()))
.map_err(ConnectError::from)
.map(|stream| (stream.into_parts().0, Protocol::Http1)),
)
.map_err(|e| match e {