From 26b61d191b662b44fa06f36d3a071dad626a1811 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 2 Aug 2023 13:02:23 +0200 Subject: [PATCH] set ack delay to none --- src/executor/network.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/executor/network.rs b/src/executor/network.rs index 50b56095dc..63545f3abb 100644 --- a/src/executor/network.rs +++ b/src/executor/network.rs @@ -135,6 +135,7 @@ impl<'a> NetworkInterface<'a> { let tcp_tx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); let mut tcp_socket = tcp::Socket::new(tcp_rx_buffer, tcp_tx_buffer); tcp_socket.set_nagle_enabled(true); + tcp_socket.set_ack_delay(None); let tcp_handle = self.sockets.add(tcp_socket); Ok(tcp_handle)