Skip to content

[v16] Fix Proxy web server middleware order#51424

Merged
rosstimothy merged 1 commit intobranch/v16from
tross/backport-51386/v16
Jan 23, 2025
Merged

[v16] Fix Proxy web server middleware order#51424
rosstimothy merged 1 commit intobranch/v16from
tross/backport-51386/v16

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 23, 2025

Backport #51386 to branch/v16

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/v16 with commit d1fb91a Jan 23, 2025
@rosstimothy rosstimothy deleted the tross/backport-51386/v16 branch January 23, 2025 18:05
@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