Workhorse no longer reports the proper remote address properly
upstream.go
has some code to parse the peer address if it sees @
, but with the introduction of !363 (merged) the remote IP is no longer returning the right address.
This was uncovered when I moved the correlation ID injection from main.go
to upstream.go
: https://gitlab.com/gitlab-org/gitlab-workhorse/-/jobs/193644755
I've verified that this is happening on dev.gitlab.org.