Revert "proxy progress one more go? it makes no sense :("
This reverts commit 9b6fd353
This commit is contained in:
parent
9b6fd3537a
commit
abf7de9723
|
@ -188,7 +188,11 @@ public class LinkManager {
|
|||
int portPart = TcpConnector.getTcpPort(port);
|
||||
String hostname = TcpConnector.getHostname(port);
|
||||
socket = new Socket(hostname, portPart);
|
||||
return new TcpIoStream(logger, socket);
|
||||
TcpIoStream tcpIoStream = new TcpIoStream(logger, socket);
|
||||
IncomingDataBuffer dataBuffer = IncomingDataBuffer.createDataBuffer(tcpIoStream, logger);
|
||||
tcpIoStream.setDataBuffer(dataBuffer);
|
||||
|
||||
return tcpIoStream;
|
||||
} catch (Throwable e) {
|
||||
stateListener.onConnectionFailed();
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue