3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 02:35:52 +00:00

Make socket connect log message sound a bit less happy. We still need to handshake for a 'successful' connection.

This commit is contained in:
Andreas Schildbach 2016-02-26 19:25:47 +01:00
parent b6c6d1213e
commit 6226e32fcb

View File

@ -62,7 +62,7 @@ public class NioClientManager extends AbstractExecutionThreadService implements
ConnectionHandler handler = new ConnectionHandler(connection, key, connectedHandlers);
try {
if (sc.finishConnect()) {
log.info("Successfully connected to {}", sc.socket().getRemoteSocketAddress());
log.info("Connected to {}", sc.socket().getRemoteSocketAddress());
key.interestOps((key.interestOps() | SelectionKey.OP_READ) & ~SelectionKey.OP_CONNECT).attach(handler);
connection.connectionOpened();
data.future.set(data.address);