Skip to content

Commit

Permalink
Remove unncessary socket setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hunhoffe committed Aug 11, 2023
1 parent 52f9c17 commit e29882a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rpc/src/transport/smoltcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ impl TCPTransport<'_> {

// Create the TCP socket
let socket_tx_buffer = TcpSocketBuffer::new(sock_vec);
let mut tcp_socket = TcpSocket::new(socket_rx_buffer, socket_tx_buffer);
//tcp_socket.set_ack_delay(None);
let tcp_socket = TcpSocket::new(socket_rx_buffer, socket_tx_buffer);

// Add socket to interface and record socket handle
let server_handle = iface.lock().add_socket(tcp_socket);
Expand Down

0 comments on commit e29882a

Please sign in to comment.