Skip to content

Conversation

@etsangsplk
Copy link

@etsangsplk etsangsplk commented Jul 25, 2018

newRequest := func(remoteAddr, xRealIP string, xForwardedFor ...string) *http.Request {
h := http.Header{}
h.Set("X-Real-IP", xRealIP)
if xRealIP != "" {

Choose a reason for hiding this comment

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

this is a good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants