http: Improve a comment

This commit is contained in:
Sasha Koshka 2024-12-27 00:22:02 -05:00
parent 6c73ec0f88
commit d4ae9d90d5

View File

@ -92,7 +92,8 @@ func (this *Handler) ServeHTTP (res http.ResponseWriter, req *http.Request) {
}
}
// make req clone with correct ip
// make clone of req with correct ip because modifying req directly is
// forbidden
req = req.Clone(req.Context())
req.RemoteAddr = realRemoteAddr
log.Println("(i)", req.Method, req.URL, "from", remoteAddrStr)