Skip to content

[v15] Fix Proxy web server middleware order#51425

Merged
rosstimothy merged 1 commit intobranch/v15from
tross/backport-51386/v15
Jan 23, 2025
Merged

[v15] Fix Proxy web server middleware order#51425
rosstimothy merged 1 commit intobranch/v15from
tross/backport-51386/v15

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 23, 2025

Backport #51386 to branch/v15

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 marked this pull request as ready for review January 23, 2025 17:40
@rosstimothy rosstimothy added this pull request to the merge queue Jan 23, 2025
Merged via the queue into branch/v15 with commit 1a304eb Jan 23, 2025
@rosstimothy rosstimothy deleted the tross/backport-51386/v15 branch January 23, 2025 18:06
This was referenced 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