mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
Proxy mode: add failed address on error
This commit is contained in:
parent
3450ffad2b
commit
8e88cd2e31
1 changed files with 1 additions and 0 deletions
|
@ -647,6 +647,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
proxyInfo.getProxySocketConnection().connect(socket, host, port, timeout);
|
proxyInfo.getProxySocketConnection().connect(socket, host, port, timeout);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
hostAddress.setException(e);
|
hostAddress.setException(e);
|
||||||
|
failedAddresses.add(hostAddress);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
LOGGER.finer("Established TCP connection to " + hostAndPort);
|
LOGGER.finer("Established TCP connection to " + hostAndPort);
|
||||||
|
|
Loading…
Reference in a new issue