Skip to content

Commit

Permalink
Fix intel-cloud#270: S3 timeout parameter modifies both connection an…
Browse files Browse the repository at this point in the history
…d inactivity timeouts.
  • Loading branch information
zoran-rajic committed Apr 30, 2015
1 parent 2759738 commit 8f1de4c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void init(Config config, Logger logger) {

ClientConfiguration clientConf = new ClientConfiguration();
clientConf.setConnectionTimeout(timeout);
clientConf.setSocketTimeout(timeout);
clientConf.setMaxConnections(maxConnections);
// clientConf.setProtocol(Protocol.HTTP);
if((!proxyHost.equals(""))&&(!proxyPort.equals(""))){
Expand Down

0 comments on commit 8f1de4c

Please sign in to comment.