We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062e333 commit a427a1cCopy full SHA for a427a1c
java/src/main/java/com/genexus/internet/HttpClientJavaLib.java
@@ -68,7 +68,7 @@ public class HttpClientJavaLib extends GXHttpClient {
68
69
private static final DnsResolver FIRST_IP_DNS_RESOLVER = host -> {
70
InetAddress[] allIps = SystemDefaultDnsResolver.INSTANCE.resolve(host);
71
- if (allIps != null && allIps.length > 1) {
+ if (allIps != null && allIps.length > 0) {
72
return new InetAddress[]{allIps[0]};
73
}
74
return allIps;
0 commit comments