Updated to latest hyper with patched mio

This commit is contained in:
arkpar
2016-06-27 10:39:37 +02:00
parent 4f1f33d1b8
commit c21550a663
7 changed files with 36 additions and 31 deletions

View File

@@ -86,7 +86,7 @@ impl<T: Dapp> PageHandler<T> {
}
impl<T: Dapp> server::Handler<HttpStream> for PageHandler<T> {
fn on_request(&mut self, req: server::Request) -> Next {
fn on_request(&mut self, req: server::Request<HttpStream>) -> Next {
self.file = match *req.uri() {
RequestUri::AbsolutePath(ref path) => {
self.app.file(&self.extract_path(path))