Fix correlation IDs not being propagated in preauth check
Previously `info/refs`, `upload-pack`, `receive-pack`, and anything that needed to make an authorization check with Rails would not forward along the correlation ID injected in the request context. We solve this by creating the HTTP request with the same context. This adds some additional memory allocations for each outbound request. Relates to https://gitlab.com/gitlab-org/gitlab-workhorse/-/issues/293
Showing
Please register or sign in to comment