From cb11bbd8396fc3f6607481d50a4c82db0bfeffb7 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 6 Apr 2019 16:56:30 +0300 Subject: [PATCH] Test TCP_NODELAY in hyper_hello (#2060) --- tools/hyper_hello.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hyper_hello.rs b/tools/hyper_hello.rs index 7a24ea7352..dc4dceb06c 100644 --- a/tools/hyper_hello.rs +++ b/tools/hyper_hello.rs @@ -29,6 +29,7 @@ fn main() { }; let server = Server::bind(&addr) + .tcp_nodelay(true) .serve(new_service) .map_err(|e| eprintln!("server error: {}", e));