mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
Test TCP_NODELAY in hyper_hello (#2060)
This commit is contained in:
parent
9e890c260b
commit
cb11bbd839
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ fn main() {
|
||||||
};
|
};
|
||||||
|
|
||||||
let server = Server::bind(&addr)
|
let server = Server::bind(&addr)
|
||||||
|
.tcp_nodelay(true)
|
||||||
.serve(new_service)
|
.serve(new_service)
|
||||||
.map_err(|e| eprintln!("server error: {}", e));
|
.map_err(|e| eprintln!("server error: {}", e));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue