-
Notifications
You must be signed in to change notification settings - Fork 654
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
[DO NOT MERGE] Feat flex checksum #2808
base: main
Are you sure you want to change the base?
Conversation
service/internal/checksum/middleware_compute_input_checksum_test.go
Outdated
Show resolved
Hide resolved
merge main into branch
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.
Had discussed and approved offline, but might as well give an explicit approval
e277468
to
59e520b
Compare
merge main into branch
merge main into this branch
merge main into branch
merge main into branch
|
||
// ID provides the middleware identifier | ||
func (m *RequestChecksumMetricsTracking) ID() string { | ||
return "AWSChecksum:RequestMetricsTracking" |
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.
[observation] we don't follow this pattern of x:y
on other middlewares, but I like how you used it here
@@ -0,0 +1,169 @@ | |||
//go:build go1.16 |
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.
- Why do we need to duplicate the user agent test? If we just want to test that it includes the features we're interested in, I wouldn't duplicate the whole test but just check that the user agent includes the features we're interested in
- Why do we put this under
go:build
tags? - If we need to do the above, can we change this to go 1.21?
Add client cfg to opt-in/out checksum calculation/validation, change default algorithm to calculate checksum