feat(envoy): Allow to pass arbitrary http headers to upstream calls
Allow to configure and pass arbitrary headers to upstream calls.
https://github.com/getsentry/relay/issues/4712
Putting to draft, waiting for feedback from @gi0baro
@Dav1dde confirmed with @oioki and @gi0baro Turning it back into ready for review. Change is minor, do you need it to be in change log?
@Dav1dde confirmed with @oioki and @gi0baro Turning it back into ready for review. Change is minor, do you need it to be in change log?
@dmajere while the security concern around headers was tackled by @oioki, I still don't get why we need to set headers for relay specifically. Is this only to support the legacy DSNs in the US region? Or also 'cause pops talks to frontend? If it's the latter, can't we just change the routing pops->main to talk directly to upstream releays through traffic director in place of frontend and leave relay code as it is?