Unverified Commit 6ca0371c authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

Update http-server/src/server.rs

parent b1cd730d
Pipeline #207813 canceled with stages
in 15 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();
// The dummy error is set in place to satisfy the server's trait bounds regarding the
// `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