Unverified Commit 7d84ba7e authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

Update http-server/src/server.rs

parent 6ca0371c
Pipeline #207814 canceled with stages
in 5 minutes and 18 seconds
......@@ -598,7 +598,6 @@ impl<L: Logger> hyper::service::Service<hyper::Request<hyper::Body>> for TowerSe
fn call(&mut self, request: hyper::Request<hyper::Body>) -> Self::Future {
let data = self.inner.clone();
// `tower::ServiceBuilder` and the error will never be mapped.
Box::pin(data.handle_request(request).map(Ok))
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment