summaryrefslogtreecommitdiffstats
path: root/cadi/client/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'cadi/client/src/main')
-rw-r--r--cadi/client/src/main/java/org/onap/aaf/cadi/http/HMangr.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/cadi/client/src/main/java/org/onap/aaf/cadi/http/HMangr.java b/cadi/client/src/main/java/org/onap/aaf/cadi/http/HMangr.java
index 2aa10ac3..772a499c 100644
--- a/cadi/client/src/main/java/org/onap/aaf/cadi/http/HMangr.java
+++ b/cadi/client/src/main/java/org/onap/aaf/cadi/http/HMangr.java
@@ -130,9 +130,6 @@ public class HMangr {
} else {
throw new CadiException("Socket prematurely closed, no more services to try");
}
- } else if(ec instanceof SSLHandshakeException) {
- retryable.item(null);
- throw e;
} else if(ec instanceof SocketException) {
if("java.net.SocketException: Connection reset".equals(ec.getMessage())) {
access.log(Level.ERROR, ec.getMessage(), " can mean Certificate Expiration or TLS Protocol issues");
@@ -160,9 +157,6 @@ public class HMangr {
public<RET> RET best(SecuritySetter<HttpURLConnection> ss, Retryable<RET> retryable) throws LocatorException, CadiException, APIException {
- if(loc==null) {
- throw new LocatorException("No Locator Configured");
- }
retryable.item(loc.best());
return same(ss,retryable);
}
@@ -232,7 +226,7 @@ public class HMangr {
connectionTimeout = t;
}
- public int connectionTimout() {
+ public int connectionTimeout() {
return connectionTimeout;
}