Merge pull request #6600 from nagarajasr:master
* pr/6600: Apply sytem properties on HttpClient
This commit is contained in:
commit
fc636c1db7
|
|
@ -76,7 +76,7 @@ class InitializrService {
|
||||||
|
|
||||||
protected CloseableHttpClient getHttp() {
|
protected CloseableHttpClient getHttp() {
|
||||||
if (this.http == null) {
|
if (this.http == null) {
|
||||||
this.http = HttpClientBuilder.create().build();
|
this.http = HttpClientBuilder.create().useSystemProperties().build();
|
||||||
}
|
}
|
||||||
return this.http;
|
return this.http;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue