mirror of https://github.com/fafhrd91/actix-web
Update service.rs
This commit is contained in:
parent
93e53ae3fc
commit
6df11f7abe
|
@ -88,7 +88,7 @@ where
|
||||||
Ok(Async::Ready(()))
|
Ok(Async::Ready(()))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn call(&mut self, req: Self::Request) -> Self::Future {
|
fn call(&mut self, mut req: Self::Request) -> Self::Future {
|
||||||
let _ = req.set_nodelay(true);
|
let _ = req.set_nodelay(true);
|
||||||
HttpChannel::new(self.settings.clone(), req)
|
HttpChannel::new(self.settings.clone(), req)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue