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

Optimize RealIpResolver plugin #2008

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Optimize RealIpResolver plugin #2008

merged 1 commit into from
Apr 22, 2024

Conversation

Mis1eader-dev
Copy link
Member

@Mis1eader-dev Mis1eader-dev commented Apr 20, 2024

This PR avoids a header string copy and converting the copy to lowercase on every request.

In turn this speeds up Hodor plugin as well.

@an-tao an-tao requested a review from hwc0919 April 22, 2024 03:10
@an-tao an-tao merged commit 519398c into master Apr 22, 2024
31 of 34 checks passed
@hwc0919 hwc0919 deleted the real_ip_resolver_optimize branch May 26, 2024 06:35
This pull request was closed.
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.

2 participants