-
Notifications
You must be signed in to change notification settings - Fork 725
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
api: fix TLS when redirecting the request #1740
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1740 +/- ##
==========================================
- Coverage 76.83% 76.77% -0.06%
==========================================
Files 162 162
Lines 15832 15844 +12
==========================================
Hits 12165 12165
- Misses 2650 2654 +4
- Partials 1017 1025 +8
Continue to review full report at Codecov.
|
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.
LGTM
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
d871d6e
to
2b688d2
Compare
Signed-off-by: Ryan Leung <rleungx@gmail.com>
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.
LGTM
/run-all-tests |
cherry pick to release-3.0 failed |
cherry pick to release-2.1 failed |
cherry pick to release-3.1 failed |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
When will this land in a PD release? |
@onitake This fix will land in 3.0.5 soon. |
@rleungx Thanks! |
What problem does this PR solve?
Start 2 PD:
pd1: client-urls: 127.0.0.1:2379, peer-urls: 127.0.0.1:2380
pd2: client-urls: 127.0.0.1:2479, peer-urls: 127.0.0.1:2480
From PD log:
Before:
pd1:
pd2:
After: no such error
From curl:
Before:
After: no such error
What is changed and how it works?
This PR fixes the TLS problem when redirecting the request.
Check List
Tests
Related changes