Skip to content

Commit 1775bc8

Browse files
authored
Merge pull request #803 from commercetools/http-versions
Update AHC TLS config
2 parents 5c52a1e + 8b70a30 commit 1775bc8

File tree

1 file changed

+1
-1
lines changed
  • commercetools/commercetools-async-http-client/src/main/java/com/commercetools/http/asynchttp

1 file changed

+1
-1
lines changed

commercetools/commercetools-async-http-client/src/main/java/com/commercetools/http/asynchttp/CtAsyncHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class CtAsyncHttpClient extends HttpClientBase implements VrapHttpClient,
2222
private final Supplier<DefaultAsyncHttpClientConfig.Builder> clientBuilder = CtAsyncHttpClient::createClientBuilder;
2323

2424
public static DefaultAsyncHttpClientConfig.Builder createClientBuilder() {
25-
return new DefaultAsyncHttpClientConfig.Builder().setEnabledProtocols(new String[] { "TLSv1.1", "TLSv1.2" })
25+
return new DefaultAsyncHttpClientConfig.Builder().setEnabledProtocols(new String[] { "TLSv1.3", "TLSv1.2" })
2626
.setReadTimeout(121000)
2727
.setRequestTimeout(121000);
2828
}

0 commit comments

Comments
 (0)