From 3f3d525a2ffc1e71baec320132ec59f29873382c Mon Sep 17 00:00:00 2001 From: Zoran Rajic Date: Thu, 30 Apr 2015 01:42:27 -0700 Subject: [PATCH] Fix #270: S3 timeout parameter modifies both connection and inactivity timeouts. --- dev/cosbench-s3/src/com/intel/cosbench/api/S3Stor/S3Storage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/cosbench-s3/src/com/intel/cosbench/api/S3Stor/S3Storage.java b/dev/cosbench-s3/src/com/intel/cosbench/api/S3Stor/S3Storage.java index 09621244..fce14440 100644 --- a/dev/cosbench-s3/src/com/intel/cosbench/api/S3Stor/S3Storage.java +++ b/dev/cosbench-s3/src/com/intel/cosbench/api/S3Stor/S3Storage.java @@ -53,6 +53,7 @@ public void init(Config config, Logger logger) { ClientConfiguration clientConf = new ClientConfiguration(); clientConf.setConnectionTimeout(timeout); + clientConf.setSocketTimeout(timeout); // clientConf.setProtocol(Protocol.HTTP); if((!proxyHost.equals(""))&&(!proxyPort.equals(""))){ clientConf.setProxyHost(proxyHost);