Skip to content
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

⚡ Efficient search for networks including ip from the request. #210

Merged
merged 9 commits into from Jun 30, 2023

Conversation

egorgasay
Copy link
Contributor

No description provided.

internal/proxy/directors.go Outdated Show resolved Hide resolved
internal/proxy/directors.go Outdated Show resolved Hide resolved
internal/proxy/directors.go Outdated Show resolved Hide resolved
internal/proxy/directors.go Outdated Show resolved Hide resolved
@@ -212,21 +212,12 @@ func NewDirectorSetHeadersByIP(m map[string]HTTPHeaders) (DirectorSetHeadersByIP
}

for _, header := range v {
allHeaders = append(allHeaders, header.Name)
allHeaders = append(allHeaders, http.CanonicalHeaderKey(header.Name))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need deduplication for allHeaders

@rekby rekby merged commit 65eaa18 into rekby:master Jun 30, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants