Only command line has a default of 4, programatic usage has a default of 1.
@@ -36,7 +36,7 @@ public final class ConnectionParams {
private long connectionTimeout = TimeUnit.SECONDS.toMillis(60);
private final Multimap<String, String> headers = ArrayListMultimap.create();
private final Map<String, HeaderProvider> headerProviders = new HashMap<>();
- private int numPersistentConnectionsPerEndpoint = 4;
+ private int numPersistentConnectionsPerEndpoint = 1;
private String proxyHost = null;
private int proxyPort = 8080;
private boolean useCompression = false;
