Skip to content

Commit

Permalink
set ack delay to none
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Aug 2, 2023
1 parent e087b5f commit 6bcc6a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/executor/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6bcc6a3

Please sign in to comment.