-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ringhash: normalize uppercase in requestHashHeader from service config #8243
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8243 +/- ##
==========================================
+ Coverage 82.09% 82.12% +0.02%
==========================================
Files 412 412
Lines 40491 40492 +1
==========================================
+ Hits 33242 33253 +11
+ Misses 5876 5874 -2
+ Partials 1373 1365 -8
🚀 New features to boost your workflow:
|
f9007f4
to
44d5dea
Compare
With gRFC A76 (grpc#8159), when requestHashHeader is specified from the service config it fails the validation since MD keys with uppercase letters are normalized to lowercase. We should normalize the parsed value before validation.
44d5dea
to
3b8052a
Compare
@yousukseung the test failure may be related to the changes in the PR, can you PTAL: https://github.com/grpc/grpc-go/actions/runs/14410175562/job/40416016501?pr=8243 |
I was able to reproduce the failure on the master branch, I opened #8247 to track this. |
With gRFC A76 (#8159), when requestHashHeader is specified from the service config it fails the validation since MD keys with uppercase letters are normalized to lowercase. We should normalize the parsed value before validation.
RELEASE NOTES: N/A