mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:31:48 +00:00
Our Sourcegraph Cloud instances are also behind Cloudflare WAF, which makes `Cf-` headers available to them as well, which could be useful for the 2 data points in `requestclient` that prefer `Cf-` headers in Sourcegraph.com: `ForwardedFor` and client geolocation (https://github.com/sourcegraph/sourcegraph/pull/58386). This change adds `SRC_USE_CLOUDFLARE_HEADERS` to opt in to this mechanism outside of dotcom. |
||
|---|---|---|
| .. | ||
| geolocation | ||
| BUILD.bazel | ||
| client_test.go | ||
| client.go | ||
| grpc_test.go | ||
| grpc.go | ||
| http.go | ||