-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
grpc‘s secure discovery #1270
grpc‘s secure discovery #1270
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1270 +/- ##
==========================================
+ Coverage 51.04% 51.13% +0.09%
==========================================
Files 52 53 +1
Lines 2541 2554 +13
==========================================
+ Hits 1297 1306 +9
- Misses 1098 1103 +5
+ Partials 146 145 -1
Continue to review full report at Codecov.
|
@tonybase 我把这个client isSecure 换成 insecure 应该好理解一些 这个参数是grpc.Dial时的insecure 参数 代表是不是不安全的连接 discovery更新node的时候需要知道 自己是不是安全的Dial |
* add gprc secure discovery * add http insecure filter
根据 grpc dial’s insecure 选择对应的gprc链接 (isSecure参数)