We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171ddf2 commit e8d7ff2Copy full SHA for e8d7ff2
connection_util.go
@@ -325,6 +325,12 @@ func populateChunkDownloader(
325
326
func setupOCSPEnvVars(ctx context.Context, host string) error {
327
host = strings.ToLower(host)
328
+
329
+ // only set OCSP envs if not already set
330
+ if val, set := os.LookupEnv(cacheServerURLEnv); set {
331
+ logger.WithContext(ctx).Debugf("OCSP Cache Server already set by user for %v: %v\n", host, val)
332
+ return nil
333
+ }
334
if isPrivateLink(host) {
335
if err := setupOCSPPrivatelink(ctx, host); err != nil {
336
return err
0 commit comments