From f2215aa52f1e76c5d0cb0bf8329525695839e3ba Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 14 Apr 2020 19:23:38 +0200 Subject: [PATCH] 'hyper::server::conn::Http::::keep_alive': renamed to `http1_keep_alive` --- src/libdoh/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libdoh/src/lib.rs b/src/libdoh/src/lib.rs index ccd615e..f2a2cc9 100644 --- a/src/libdoh/src/lib.rs +++ b/src/libdoh/src/lib.rs @@ -282,7 +282,7 @@ impl DoH { } let mut server = Http::new(); - server.keep_alive(self.globals.keepalive); + server.http1_keep_alive(self.globals.keepalive); server.pipeline_flush(true); let executor = LocalExecutor::new(self.globals.runtime_handle.clone()); let server = server.with_executor(executor);