1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +01:00

Proxy mode: add failed address on error

This commit is contained in:
Georg Lukas 2019-03-12 11:33:38 +01:00 committed by Florian Schmaus
parent 3450ffad2b
commit 8e88cd2e31

View file

@ -647,6 +647,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
proxyInfo.getProxySocketConnection().connect(socket, host, port, timeout);
} catch (IOException e) {
hostAddress.setException(e);
failedAddresses.add(hostAddress);
continue;
}
LOGGER.finer("Established TCP connection to " + hostAndPort);