IDEA-77360 SVN doesn't work in build 110.492

system property added to help SSL protocols selection (can be overridden from outside)
This commit is contained in:
irengrig
2011-11-28 18:58:56 +04:00
parent b2cb7db4d4
commit 3ed40859e7
3 changed files with 7 additions and 0 deletions
Binary file not shown.
Binary file not shown.
@@ -152,6 +152,8 @@ public class SvnVcs extends AbstractVcs<CommittedChangeList> {
private static RareLogger.LogFilter[] ourLogFilters;
private final SvnLoadedBrachesStorage myLoadedBranchesStorage;
public static final String SVNKIT_HTTP_SSL_PROTOCOLS = "svnkit.http.sslProtocols";
static {
SVNJNAUtil.setJNAEnabled(true);
SvnHttpAuthMethodsDefaultChecker.check();
@@ -174,6 +176,11 @@ public class SvnVcs extends AbstractVcs<CommittedChangeList> {
LOG.warn("JNA is not found by svnkit library");
}
initLogFilters();
// Alexander Kitaev says it is default value (empty string)
if (System.getProperty(SVNKIT_HTTP_SSL_PROTOCOLS) == null) {
System.setProperty(SVNKIT_HTTP_SSL_PROTOCOLS, "");
}
}
private static Boolean booleanProperty(final String systemParameterName) {