remove socket timeout from MockTcpTransport

added in b208a7dbae
This commit is contained in:
Boaz Leskes 2016-07-26 18:04:05 +02:00
parent dbdb6341a5
commit fabfd425f0
1 changed files with 0 additions and 2 deletions

View File

@ -43,7 +43,6 @@ import java.io.BufferedOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UncheckedIOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
@ -210,7 +209,6 @@ public class MockTcpTransport extends TcpTransport<MockTcpTransport.MockChannel>
private void configureSocket(Socket socket) throws SocketException {
socket.setTcpNoDelay(TCP_NO_DELAY.get(settings));
socket.setSoTimeout(15000);
ByteSizeValue tcpSendBufferSize = TCP_SEND_BUFFER_SIZE.get(settings);
if (tcpSendBufferSize.bytes() > 0) {
socket.setSendBufferSize(tcpSendBufferSize.bytesAsInt());