Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gin update to 1.7 broke the work with IP addresses of clients: now 'X-Forwarded-For' and 'X-Real-Ip' headers needs to be set as trusted for 'c.ClientIP()' method to successfully read the client's IP in case 'gin.Run' method is not used. Related issue: gin-gonic/gin#2697
- Loading branch information