clair/api/httputil
Sida Chen c6f0eaa3c8 api: fix remote addr shows reverse proxy addr problem
Uses the first ip addr in X-forwarded-for as the client's remote addr if it exists
otherwise, fall back to use default http.Request.RemoteAddr
2017-06-16 10:08:58 -04:00
..
httputil.go api: fix remote addr shows reverse proxy addr problem 2017-06-16 10:08:58 -04:00