diff --git a/pom.xml b/pom.xml index e76d74735c3..bd0c4c3a43f 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ 3.2.12.RELEASE 1.9.5 1.5.3 - 1.9.8 + 1.3.22 2.6 3.4 2.4 diff --git a/utils/src/com/cloud/utils/S3Utils.java b/utils/src/com/cloud/utils/S3Utils.java index fc8a3cc17c9..7df3d3b58fe 100644 --- a/utils/src/com/cloud/utils/S3Utils.java +++ b/utils/src/com/cloud/utils/S3Utils.java @@ -103,17 +103,19 @@ public final class S3Utils { } if (clientOptions.getUseTCPKeepAlive() != null) { - configuration.setUseTcpKeepAlive(clientOptions.getUseTCPKeepAlive()); + //configuration.setUseTcpKeepAlive(clientOptions.getUseTCPKeepAlive()); + LOGGER.debug("useTCPKeepAlive not supported by old AWS SDK"); } if (clientOptions.getConnectionTtl() != null) { - configuration.setConnectionTTL(clientOptions.getConnectionTtl()); + //configuration.setConnectionTTL(clientOptions.getConnectionTtl()); + LOGGER.debug("connectionTtl not supported by old AWS SDK"); } if (LOGGER.isDebugEnabled()) { LOGGER.debug(format("Creating S3 client with configuration: [protocol: %1$s, connectionTimeOut: " + "%2$s, maxErrorRetry: %3$s, socketTimeout: %4$s, useTCPKeepAlive: %5$s, connectionTtl: %6$s]", configuration.getProtocol(), configuration.getConnectionTimeout(), configuration.getMaxErrorRetry(), configuration.getSocketTimeout(), - configuration.useTcpKeepAlive(), configuration.getConnectionTTL())); + -1, -1)); } final AmazonS3Client client = new AmazonS3Client(credentials, configuration);