SIGN IN SIGN UP
gin-gonic / gin UNCLAIMED

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

0 0 82 Go

fix(context): ClientIP handling for multiple X-Forwarded-For header values (#4472)

* Fix ClientIP calculation by concatenating all RemoteIPHeaders values

* test: used http.MethodGet instead constants and fix lints

* lint error fixed

* Refactor ClientIP X-Forwarded-For tests

---------

Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
N
Nurysso committed
9914178584e42458ff7d23891463a880f58c9d86
Parent: 915e4c9
Committed by GitHub <noreply@github.com> on 1/2/2026, 2:15:27 AM