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

fix isServer to exclude local address #17519

Merged
merged 1 commit into from
May 30, 2023

Conversation

dhiaayachi
Copy link
Collaborator

Description

This change the isServer behaviour to only return true when other servers IP detected. This to account for the use case when a server is receiving requests from its local IP.

@dhiaayachi dhiaayachi added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport labels May 30, 2023
Copy link
Member

@xwa153 xwa153 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@dhiaayachi dhiaayachi merged commit 04a0d01 into main May 30, 2023
@dhiaayachi dhiaayachi deleted the rate-limiter-ip/fix_local_ip_update_cfg branch May 30, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-backport pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants