Skip to content

Commit

Permalink
Merge pull request #803 from commercetools/http-versions
Browse files Browse the repository at this point in the history
Update AHC TLS config
  • Loading branch information
jenschude authored Jan 21, 2025
2 parents 5c52a1e + 8b70a30 commit 1775bc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class CtAsyncHttpClient extends HttpClientBase implements VrapHttpClient,
private final Supplier<DefaultAsyncHttpClientConfig.Builder> clientBuilder = CtAsyncHttpClient::createClientBuilder;

public static DefaultAsyncHttpClientConfig.Builder createClientBuilder() {
return new DefaultAsyncHttpClientConfig.Builder().setEnabledProtocols(new String[] { "TLSv1.1", "TLSv1.2" })
return new DefaultAsyncHttpClientConfig.Builder().setEnabledProtocols(new String[] { "TLSv1.3", "TLSv1.2" })
.setReadTimeout(121000)
.setRequestTimeout(121000);
}
Expand Down

0 comments on commit 1775bc8

Please sign in to comment.