Skip to content

[v17] Fix Proxy web server middleware order#51416

Merged
rosstimothy merged 1 commit intobranch/v17from
bot/backport-51386-branch/v17
Jan 23, 2025
Merged

[v17] Fix Proxy web server middleware order#51416
rosstimothy merged 1 commit intobranch/v17from
bot/backport-51386-branch/v17

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 23, 2025

Backport #51386 to branch/v17

changelog: Fix an issue that prevented IPs provided in the X-Forwarded-For header from being honored in some scenarios when TrustXForwardedFor is enabled.

The limiter middleware was being executed prior to the middleware
responsible updating the client IP from X-Forwarded-For headers.
This results in erroneously enforcing connection limits in NAT
environments.
@rosstimothy rosstimothy enabled auto-merge January 23, 2025 17:39
@rosstimothy rosstimothy added this pull request to the merge queue Jan 23, 2025
Merged via the queue into branch/v17 with commit e76b66c Jan 23, 2025
@rosstimothy rosstimothy deleted the bot/backport-51386-branch/v17 branch January 23, 2025 17:59
@camscale camscale mentioned this pull request Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants