v0.35.0
This commit is contained in:
1 parent
2c03fcf248
commit
d3b492874b
95 files changed
+1628
-743
No files matched your search
+1
-1
@@ -221,7 +221,7 @@ impl Service<Uri> for TimedConnector {
|
||||
let timeout = self.timeout;
|
||||
Box::pin(async move {
|
||||
match tokio::time::timeout(timeout, future).await {
|
||||
Ok(result) => result.map_err(Into::into),
|
||||
Ok(result) => result,
|
||||
Err(error) => Err(Box::new(error) as BoxError),
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user