Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 6e91a82 + 5e04e3b commit f4ad11bCopy full SHA for f4ad11b
src/com/loopj/android/http/RetryHandler.java
@@ -30,7 +30,7 @@
30
import java.util.HashSet;
31
import java.util.Iterator;
32
33
-import javax.net.ssl.SSLHandshakeException;
+import javax.net.ssl.SSLException;
34
35
import org.apache.http.NoHttpResponseException;
36
import org.apache.http.client.HttpRequestRetryHandler;
@@ -56,7 +56,7 @@ class RetryHandler implements HttpRequestRetryHandler {
56
// never retry timeouts
57
exceptionBlacklist.add(InterruptedIOException.class);
58
// never retry SSL handshake failures
59
- exceptionBlacklist.add(SSLHandshakeException.class);
+ exceptionBlacklist.add(SSLException.class);
60
}
61
62
private final int maxRetries;
0 commit comments