-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix for TLS version error (protocol not supported error)
Added a method to the Analytics Builder class forceTlsVersion1() - name subject to change Usage - Analytics.Builder builder = Analytics.builder("someKey"); Analytics analytics = builder.userAgent("someUserAgent") .client(someClient) .endpoint("some endpoint") .anotherAlreadyExistingMethod(someParam) .forceTlsVersion1() .build(); this new method forces the httpClient to be created using ConnectionSpec of MODERN_TLS and including Tls Versions: TLS_1_0, TLS_1_1, TLS_1_2, TLS_1_3 Also added a simple test case
- Loading branch information
Jorge Rodriguera
committed
Dec 8, 2021
1 parent
a61788f
commit ca95853
Showing
2 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters