Skip to content

Conversation

@gabor
Copy link
Contributor

@gabor gabor commented Nov 4, 2025

(NOTE: do not merge before #113384 is merged)

a middleware we need to support will ask for the "remote ip address" of the current request.

it does so by calling into this function:

func RemoteAddr(req *http.Request) string {

that function checks two http headers: X-Real-IP and X-Forwarded-For.

so we have to make sure these headers are available.

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.

1 participant