diff --git a/net-utils/src/ip_echo_server.rs b/net-utils/src/ip_echo_server.rs index fcd5ab1a3b..7d4186ccb6 100644 --- a/net-utils/src/ip_echo_server.rs +++ b/net-utils/src/ip_echo_server.rs @@ -130,7 +130,7 @@ async fn process_connection( .await??; debug!("Connection established to tcp/{}", *tcp_port); - let _ = tcp_stream.shutdown(); + tcp_stream.shutdown().await?; } } let response = IpEchoServerResponse {