Skip to content

Commit

Permalink
Set requestSentRetryEnabled to true in calls to warcrecordlient/filer…
Browse files Browse the repository at this point in the history
…esolver
  • Loading branch information
csrster committed May 28, 2021
1 parent a6926e3 commit eca2e6f
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
package dk.netarkivet.common.utils;

import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.ConnectException;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collection;

import javax.net.ssl.SSLException;

import org.apache.http.client.HttpRequestRetryHandler;
import org.apache.http.config.Registry;
import org.apache.http.config.RegistryBuilder;
import org.apache.http.conn.socket.ConnectionSocketFactory;
Expand Down Expand Up @@ -27,7 +38,6 @@ public class HttpsClientBuilder {
public HttpsClientBuilder(String privateKeyFile) {
clientBuilder = HttpClients.custom().setRetryHandler(new DefaultHttpRequestRetryHandler(3, true));
sslProvider = new BasicTwoWaySSLProvider(privateKeyFile);

setupConnection();
}

Expand Down

0 comments on commit eca2e6f

Please sign in to comment.