-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
okhttp: Per-rpc call option authority verification #11754
okhttp: Per-rpc call option authority verification #11754
Conversation
…orityverifyokhttp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still need to look at the core of it, but the shape looks right. These comments are mostly surface-level.
…oved setting sslEndpointAlgorithm.
This reverts commit f5b3614.
Yet to make the changes to use X509ExtendedTrustManager only via reflection if it is available in the class loader. |
Done. |
# Conflicts: # core/src/main/java/io/grpc/internal/CertificateUtils.java # okhttp/src/main/java/io/grpc/okhttp/OkHttpChannelBuilder.java
Also make sure that the failure is only the RPC-failure not a connection failure.
The checkServerTrustedCalled wasn't actually testing what it tried to; it would become true simply because of the TLS handshake. That led to searching for a proper way to test it and renaming the tests so it was clearer what was and wasn't tested which led to further test tweaks.
No description provided.