[#562] Empty default value for TLS termination header param #575
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#575
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "r.loginov/frostfs-s3-gw:fix/562-use_empty_default_value_for_tls_termination_header"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
close #562
For additional information see #562 (comment)
4f7bd5c149
tob5a3ebed69
@ -445,6 +440,19 @@ func (h *handler) formEncryptionParamsBase(r *http.Request, isCopySource bool) (
return enc, err
}
func (h *handler) isTLSCheckRequired(r *http.Request, needCheckTLS bool) bool {
Suggestion: can we write something like this:
LGTM, I would like to apply suggestion from @dkirillov, it makes code a little bit easier to read. The rule of thumb for me is: if you see
else
statement, check if you can rewrite without it :)b5a3ebed69
tob83e6e1258
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings