-
Notifications
You must be signed in to change notification settings - Fork 3.9k
okhttp: use new APIs for configuring TLS whenever possible (Android Q+) #6912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
voidzcy
merged 23 commits into
grpc:master
from
voidzcy:bugfix/okhttp_config_tls_with_public_apis_on_android_r
Apr 17, 2020
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
aa9b7ec
Use new APIs for configuring TLS whenever possible.
voidzcy 0e6e2d0
Ignore checkstyle warning for empty catch block
voidzcy 8e0e641
Add test for verifying invoking getApplicationProtocol() for android …
voidzcy 741247b
Fix a wrong reflection call.
voidzcy 612225a
Add comment for explanation.
voidzcy b29cf26
Fix checking wrong protocol type.
voidzcy 284c51e
Should still calls old version (reflective) methods in case of Conscr…
voidzcy 745d447
Remove unused method.
voidzcy 197c325
Should still call the old version when using platform socket while se…
voidzcy ccc3bbe
Clean up unused import
voidzcy cf373b5
Use public API whenever possible, only use old reflective API when pu…
voidzcy 46db165
Use new API for setting SNI whenever possible.
voidzcy 8e4e3a2
Better exception propagations.
voidzcy 678bbc7
Format
voidzcy 66f0b8e
Eliminate ignored exception.
voidzcy 1fb9b20
Format
voidzcy 1eca84a
Use normal Method for using public APIs.
voidzcy 7d69401
Revert unit test for verifying invocation of getApplicationProtocols(…
voidzcy be1867e
Check if SSLSocket.getApplicationProtocol() is supported to determine…
voidzcy a5b7124
Fix exception catching for UnsupportedOperationException.
voidzcy 03e81ae
No need to load classes, they are already publicly available.
voidzcy cc435c0
Add comment for checking if underlying provider supports enabling ALP…
voidzcy 54eff36
Reword comment.
voidzcy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.