Bumping versions
This commit is contained in:
@@ -74,7 +74,9 @@ public class HttpClientConfigurableHttpConnectionFactory implements Configurable
|
||||
return new HttpClientConnection(url.toString(), null, builder.build());
|
||||
}
|
||||
else {
|
||||
/* No matching builder found: let jGit handle the creation of the HttpClient */
|
||||
/*
|
||||
* No matching builder found: let jGit handle the creation of the HttpClient
|
||||
*/
|
||||
return new HttpClientConnection(url.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,8 +65,11 @@ public final class HttpClientSupport {
|
||||
httpClientBuilder.setDefaultCredentialsProvider(new SystemDefaultCredentialsProvider());
|
||||
}
|
||||
|
||||
/* According to https://git.eclipse.org/c/jgit/jgit.git/commit/?id=e17bfc96f293744cc5c0cef306e100f53d63bb3d
|
||||
jGit does its own redirect handling and disables HttpClient's redirect handing. */
|
||||
/*
|
||||
* According to https://git.eclipse.org/c/jgit/jgit.git/commit/?id=
|
||||
* e17bfc96f293744cc5c0cef306e100f53d63bb3d jGit does its own redirect handling
|
||||
* and disables HttpClient's redirect handing.
|
||||
*/
|
||||
httpClientBuilder.disableRedirectHandling();
|
||||
|
||||
int timeout = environmentProperties.getTimeout() * 1000;
|
||||
|
||||
Reference in New Issue
Block a user