mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-03 04:57:37 +03:00
'hyper::server::conn::Http::<E>::keep_alive': renamed to http1_keep_alive
This commit is contained in:
parent
87954b5012
commit
f2215aa52f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue