-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(balancer): get headers as hash identifier by ngx.var (#13063)
Before this PR we use `ngx.req.get_headers()` to get all possible header values as identifier, but since nginx 1.23.0 or OpenResty 1.25.3.1 `ngx.var` can get a combined value for all header values with identical name (joined by comma), so I think that we could simplify these code. KAG-4572
- Loading branch information
Showing
2 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3e05a9b
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.
Bazel Build
Docker image available
kong/kong:3e05a9b7ef02dab9dbd6755e6808645e99852c80
Artifacts available https://github.com/Kong/kong/actions/runs/9295608786