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);
|
int portPart = TcpConnector.getTcpPort(port);
|
||||||
String hostname = TcpConnector.getHostname(port);
|
String hostname = TcpConnector.getHostname(port);
|
||||||
socket = new Socket(hostname, portPart);
|
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) {
|
} catch (Throwable e) {
|
||||||
stateListener.onConnectionFailed();
|
stateListener.onConnectionFailed();
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue