mirror of https://github.com/apache/jclouds.git
setting of zero isn't possible to pass
This commit is contained in:
parent
1f4bd46074
commit
076627d2bb
|
@ -185,12 +185,8 @@ public class JavaUrlHttpCommandExecutorService extends BaseHttpCommandExecutorSe
|
|||
if (utils.trustAllCerts())
|
||||
sslCon.setSSLSocketFactory(untrustedSSLContextProvider.get().getSocketFactory());
|
||||
}
|
||||
if (utils.getConnectionTimeout() > 0) {
|
||||
connection.setConnectTimeout(utils.getConnectionTimeout());
|
||||
}
|
||||
if (utils.getSocketOpenTimeout() > 0) {
|
||||
connection.setReadTimeout(utils.getSocketOpenTimeout());
|
||||
}
|
||||
connection.setDoOutput(true);
|
||||
connection.setAllowUserInteraction(false);
|
||||
// do not follow redirects since https redirects don't work properly
|
||||
|
|
Loading…
Reference in New Issue